Skip to content

Commit

Permalink
👷 ci: check build in pr
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed Aug 25, 2023
1 parent 051f0a5 commit ee10caf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/lint-and-fmt.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Lint and Format

on: [push, pull_request, workflow_dispatch]
on:
push:
branches: [main]
pull_request:
merge_group:
workflow_dispatch:

jobs:
lint-and-fmt:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/vuepress-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: VuePress Deploy
on:
push:
branches: [main]
pull_request:
merge_group:
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -33,6 +35,7 @@ jobs:

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: src/.vuepress/dist
Expand Down

0 comments on commit ee10caf

Please sign in to comment.