Skip to content

Commit

Permalink
ci: testing alternative gh pages workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGee <[email protected]>
  • Loading branch information
brianmcgee committed May 3, 2024
1 parent e232ffe commit 9cc0ab7
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ on:

permissions:
contents: write
pages: write
id-token: write

jobs:
gh-pages:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -32,3 +34,16 @@ jobs:
if: github.ref == 'refs/heads/main'
with:
path: result

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 9cc0ab7

Please sign in to comment.