Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always publish dev docs on push to main #400

Merged
merged 1 commit into from Oct 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 6 additions & 12 deletions .github/workflows/publish_docs.yml
Expand Up @@ -13,19 +13,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3
uses: actions/setup-python@v4
- name: Publish dev docs
uses: ./
with:
python-version: 3
cache: 'pip'
- run: pip install -r requirements.txt
- name: Build Docs
run: ./build.sh
- name: Setup environment
run: |
echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
- name: Publish Docs
version: dev
- name: Publish Release docs
if: ${{ github.event.release.tag_name }}
uses: ./
with:
version: ${{ env.VERSION }} latest
version: ${{ github.event.release.tag_name }} latest
default_version: ${{ github.event.release.tag_name }}
10 changes: 0 additions & 10 deletions .github/workflows/release_draft.yml
Expand Up @@ -33,13 +33,3 @@ jobs:
git push -f
echo "Pushed update to main"
fi
update_docs:
runs-on: ubuntu-latest
needs: update_release_draft
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Publish Docs
uses: ./
with:
version: dev