Skip to content

Commit

Permalink
Fix docs publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding authored Feb 25, 2022
1 parent 727012e commit cc4855f
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,14 @@ 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:
python-version: 3.9

- name: Install prerequisites
run: |
cd ./master_branch
python -m pip install --upgrade pip wheel
python -m pip install -r ./dev-requirements/nox.txt
Expand All @@ -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

0 comments on commit cc4855f

Please sign in to comment.