File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
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
12name : Deploy Jekyll with GitHub Pages dependencies preinstalled
23
34on :
5+ # Runs on pushes targeting the default branch
46 push :
57 branches : ["main"]
8+
9+ # Allows you to run this workflow manually from the Actions tab
610 workflow_dispatch :
711
12+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
813permissions :
914 contents : read
1015 pages : write
1116 id-token : write
1217
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.
1320concurrency :
1421 group : " pages"
1522 cancel-in-progress : false
1623
1724jobs :
25+ # Build job
1826 build :
1927 runs-on : ubuntu-latest
2028 steps :
2129 - name : Checkout
2230 uses : actions/checkout@v3
23-
2431 - name : Setup Pages
2532 uses : actions/configure-pages@v3
26-
2733 - name : Build with Jekyll
2834 uses : actions/jekyll-build-pages@v1
2935 with :
3036 source : ./
3137 destination : ./_site
32-
3338 - name : Upload artifact
34- uses : actions/upload-pages-artifact@v3
35- with :
36- path : ./_site
37- name : github-pages # <- necesario para deploy
39+ uses : actions/upload-pages-artifact@v2
3840
41+ # Deployment job
3942 deploy :
4043 environment :
4144 name : github-pages
You can’t perform that action at this time.
0 commit comments