File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build & Deploy Jekyll Site
2+
3+ on :
4+ push :
5+ branches : ["master"] # your default branch
6+ workflow_dispatch : # optional manual trigger
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ jobs :
14+ build-and-deploy :
15+ runs-on : ubuntu-latest
16+ environment :
17+ name : github-pages
18+ url : https://volovyk.dev
19+
20+ steps :
21+ - uses : actions/checkout@v3
22+
23+ - name : Build Jekyll Site for GitHub Pages
24+ uses : actions/build-jekyll-for-github-pages@v2
25+ with :
26+ # directory to publish; leave blank for default (_site)
27+ destination : public
28+
29+ - name : Deploy to GitHub Pages
30+ uses : peaceiris/actions-gh-pages@v3
31+ with :
32+ github_token : ${{ secrets.GITHUB_TOKEN }}
33+ publish_branch : gh-pages # or omit to use default
34+ publish_dir : ./public
You can’t perform that action at this time.
0 commit comments