Skip to content

Commit 327ad38

Browse files
authored
add deploy workflow (#1)
1 parent c074040 commit 327ad38

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/deploy.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
# Deploy job
10+
deploy:
11+
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
12+
permissions:
13+
pages: write # to deploy to Pages
14+
id-token: write # to verify the deployment originates from an appropriate source
15+
16+
# Deploy to the github-pages environment
17+
environment:
18+
name: github-pages
19+
url: ${{ steps.deployment.outputs.page_url }}
20+
21+
# Specify runner + deployment step
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Deploy to GitHub Pages
25+
id: deployment
26+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)