From cc4855fb7079754efe0c2f67e3b31fbb14056808 Mon Sep 17 00:00:00 2001 From: Lucina Date: Fri, 25 Feb 2022 19:23:29 +0000 Subject: [PATCH] Fix docs publish workflow --- .github/workflows/publish.yml | 36 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 386aecb9..c20b896c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,12 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: Fetch and clone the master branch - uses: actions/checkout@v2 - with: - path: ./master_branch - ref: master - + - uses: actions/checkout@v2 - name: Set up Python 3.9 uses: actions/setup-python@v2 with: @@ -23,7 +18,6 @@ jobs: - name: Install prerequisites run: | - cd ./master_branch python -m pip install --upgrade pip wheel python -m pip install -r ./dev-requirements/nox.txt @@ -44,20 +38,20 @@ jobs: MESSAGE: "Release docs: ${{ github.event.release.tag_name }} (${{ steps.doc_info.outputs.GIT_HASH }})" SKIP_EMPTY_COMMITS: true - publish: - runs-on: ubuntu-latest +# publish: +# runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.9 - uses: actions/setup-python@v2 - with: - python-version: 3.9 +# steps: +# - uses: actions/checkout@v2 +# - name: Set up Python 3.9 +# uses: actions/setup-python@v2 +# with: +# python-version: 3.9 - - name: Install prerequisites - run: | - python -m pip install --upgrade pip wheel - python -m pip install -r ./dev-requirements/nox.txt +# - name: Install prerequisites +# run: | +# python -m pip install --upgrade pip wheel +# python -m pip install -r ./dev-requirements/nox.txt - - name: publish - run: python -m nox -s publish -- -u __token__ -p ${{ secrets.PYPI_TOKEN }} -i ${{ secrets.PYPI_TARGET }} --skip-version-check +# - name: publish +# run: python -m nox -s publish -- -u __token__ -p ${{ secrets.PYPI_TOKEN }} -i ${{ secrets.PYPI_TARGET }} --skip-version-check