Skip to content

Commit

Permalink
Update package publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
djperrefort committed Oct 13, 2023
1 parent dba9ea0 commit c29dc42
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions .github/workflows/PackagePublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ jobs:
uses: ./.github/workflows/PackageTest.yml
secrets: inherit

build-docs:
name: Docs
needs: run-tests
uses: ./.github/workflows/DocumentationBuild.yml
secrets: inherit

publish-package:
name: Publish Distribution
needs: run-tests
needs: build-docs
runs-on: ubuntu-latest
environment: ${{ matrix.environment }}

Expand Down Expand Up @@ -63,9 +69,18 @@ jobs:
password: ${{ secrets.REPO_PASSWORD }}

publish-docs:
name: Docs
needs: [ publish-package ]
uses: ./.github/workflows/DocumentationPublish.yml
with:
version: ${{ github.event.release.tag_name }}
latest: true
name: Deploy Documentation
needs: [ build-docs, publish-package ]

runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit c29dc42

Please sign in to comment.