Skip to content

Commit

Permalink
Work on multiversion build
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits committed Oct 18, 2024
1 parent 83dc675 commit 69fffee
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ on:
push:
branches:
- main
- staging

pull_request:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -132,14 +135,13 @@ jobs:
path: "website/artifact"
name: "02-docs"


deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: [build-02, build-04, gen-redirects]
if: ${{ needs.build-02.result == 'success' && needs.build-04.result == 'success' && github.ref == 'refs/heads/main' }}
if: ${{ needs.build-02.result == 'success' && needs.build-04.result == 'success' && needs.gen-redirects.result == 'success' && github.ref == 'refs/heads/main' }}
steps:
- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 69fffee

Please sign in to comment.