Skip to content

Commit 911da46

Browse files
committed
Use workflow_dispatch for lints
1 parent 9338ec5 commit 911da46

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/link-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Check Markdown links
22

3-
on: push
3+
# on: push
4+
on: workflow_dispatch
45

56
jobs:
67
markdown-link-check-md:

.github/workflows/publish-github-page.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
branches:
6-
- main # Trigger deployment when changes are pushed to the `main` branch
6+
- pages # Trigger deployment when changes are pushed to the `pages` branch
77
pull_request:
88
branches:
9-
- main # Trigger deployment when a pull request is merged into the `main` branch
9+
- pages # Trigger deployment when a pull request is merged into the `pages` branch
1010

1111
permissions:
1212
contents: write # allow token to write to the repository contents
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Export the site
4242
run: pnpm export
43-
43+
4444
- name: Upload static files as artifact
4545
id: deployment
4646
uses: actions/upload-pages-artifact@v3
@@ -61,4 +61,4 @@ jobs:
6161
id: deployment
6262
uses: actions/deploy-pages@v4
6363
with:
64-
token: ${{ secrets.GITHUB_TOKEN }}
64+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)