Skip to content

Commit

Permalink
⬆️ bum gh-pages action version and check before deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ad2ien committed Aug 31, 2024
1 parent 5008fe1 commit 6c5ff04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: pr_check

on:
workflow_dispatch:
workflow_call:
pull_request:
branches: [main]

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/deploy-gh-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: [main]

jobs:
check:
use: ./.github/workflows/check.yml

deploy:
runs-on: ubuntu-latest
steps:
Expand All @@ -24,7 +27,7 @@ jobs:
run: trunk build --release

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

0 comments on commit 6c5ff04

Please sign in to comment.