Skip to content

Commit f48db1b

Browse files
Create main.yml
1 parent 7b622e6 commit f48db1b

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy GitHub Pages
2+
3+
on:
4+
workflow_run:
5+
workflows: ["My First GitHub Actions"]
6+
types:
7+
- completed
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
jobs:
15+
deploy:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Download artifact
19+
uses: actions/download-artifact@v3
20+
with:
21+
name: github-pages
22+
path: ./
23+
24+
- name: Deploy to GitHub Pages
25+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)