File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://github.com/11ty/eleventy/discussions/1455#discussioncomment-6894194
2+
3+ name : build 11ty site
4+
5+ on :
6+ push :
7+ branches : ["main"]
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : " pages"
16+ cancel-in-progress : false
17+
18+ jobs :
19+
20+ build :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v3
24+ - uses : actions/setup-node@v3
25+ - name : Install dependencies & build
26+ run : |
27+ npm install
28+ npx @11ty/eleventy
29+ - uses : actions/upload-pages-artifact@v2
30+
31+ deploy :
32+ runs-on : ubuntu-latest
33+ needs : build
34+ steps :
35+ - id : deployment
36+ uses : actions/deploy-pages@v2
37+ environment :
38+ name : github-pages
39+ url : ${{ steps.deployment.outputs.page_url }}
You can’t perform that action at this time.
0 commit comments