Skip to content

Commit

Permalink
two jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Dec 21, 2023
1 parent 2655183 commit 085e43f
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@ on:
- gh-pages-pipeline

jobs:
deploy:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -35,5 +29,17 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: ${{ env.GH_PAGES_DIR }}

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

0 comments on commit 085e43f

Please sign in to comment.