Skip to content

Commit 6962298

Browse files
committed
Create page.yml
1 parent 50b40f9 commit 6962298

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

‎.github/workflows/page.yml‎

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

0 commit comments

Comments
 (0)