Skip to content

Commit 33dde33

Browse files
Add GitHub Pages deploy workflow
1 parent b4b33d7 commit 33dde33

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy Pages
2+
on:
3+
push:
4+
branches: [main]
5+
paths: ['docs/**']
6+
workflow_dispatch:
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
concurrency:
12+
group: pages
13+
cancel-in-progress: true
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
environment:
18+
name: github-pages
19+
url: ${{ steps.deployment.outputs.page_url }}
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/upload-pages-artifact@v3
23+
with:
24+
path: docs
25+
- id: deployment
26+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)