Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro committed Mar 27, 2024
1 parent 49e4b88 commit 386f78c
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

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

Expand All @@ -28,12 +28,19 @@ jobs:
env:
BASE_PATH: /my-app/

- name: create .nojekyll
run: touch .output/public/.nojekyll

- name: deploy pages
uses: JamesIves/github-pages-deploy-action@v4.5.0
- name: deploy
uses: actions/upload-pages-artifact@v3
with:
branch: master
folder: .output/public
path: '.output/public'

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

0 comments on commit 386f78c

Please sign in to comment.