diff --git a/.github/workflows/create-gh-page.yml b/.github/workflows/create-gh-page.yml index 34018c6..3dfc2a1 100644 --- a/.github/workflows/create-gh-page.yml +++ b/.github/workflows/create-gh-page.yml @@ -1,5 +1,9 @@ name: Deploy gh-page -on: workflow_dispatch # For Now +# Pages will be built against a specific tag when releases +# Additionally trigger manually +on: + workflow_dispatch: + workflow_call: permissions: contents: write jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2fa6fe7..c6e8400 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,3 +32,12 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + generate-gh-pages: + uses: ./.github/workflows/create-gh-page.yml + secrets: inherit + permissions: + contents: write + needs: + - goreleaser + +