Skip to content

Commit 0185414

Browse files
authored
Create deploy.yml
1 parent deef35a commit 0185414

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy to GitHub Pages
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
pages: write
11+
id-token: write
12+
environment:
13+
name: github-pages
14+
url: ${{ steps.deployment.outputs.page_url }}
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
- name: Upload artifact
19+
uses: actions/upload-pages-artifact@v3
20+
with:
21+
path: .
22+
- name: Deploy to GitHub Pages
23+
id: deployment
24+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)