File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1- # Sample workflow for building and deploying a Jekyll site to GitHub Pages
21name : Deploy Jekyll with GitHub Pages dependencies preinstalled
32
43on :
5- # Runs on pushes targeting the default branch
64 push :
75 branches : ["main"]
8-
9- # Allows you to run this workflow manually from the Actions tab
106 workflow_dispatch :
117
12- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
138permissions :
149 contents : read
1510 pages : write
1611 id-token : write
1712
18- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2013concurrency :
2114 group : " pages"
2215 cancel-in-progress : false
2316
2417jobs :
25- # Build job
2618 build :
2719 runs-on : ubuntu-latest
2820 steps :
2921 - name : Checkout
3022 uses : actions/checkout@v3
23+
3124 - name : Setup Pages
3225 uses : actions/configure-pages@v3
26+
3327 - name : Build with Jekyll
3428 uses : actions/jekyll-build-pages@v1
3529 with :
3630 source : ./
3731 destination : ./_site
32+
3833 - name : Upload artifact
3934 uses : actions/upload-pages-artifact@v3
35+ with :
36+ path : ./_site
37+ name : github-pages # <- necesario para deploy
4038
41- # Deployment job
4239 deploy :
4340 environment :
4441 name : github-pages
You can’t perform that action at this time.
0 commit comments