File tree Expand file tree Collapse file tree 1 file changed +1
-41
lines changed
Expand file tree Collapse file tree 1 file changed +1
-41
lines changed Original file line number Diff line number Diff line change 1-
2- # name: Deploy to GitHub Pages
1+ name : Deploy to GitHub Pages
32
43on :
5-
64 push :
7-
85 branches : [ main ]
9-
106 pull_request :
11-
127 branches : [ main ]
138
14- # Permisos necesarios para GitHub Pages
15-
169permissions :
17-
1810 contents : read
19-
2011 pages : write
21-
2212 id-token : write
2313
24- # Evitar deployments concurrentes
25-
2614concurrency :
27-
2815 group : " pages"
29-
3016 cancel-in-progress : false
3117
3218jobs :
33-
3419 build :
35-
3620 runs-on : ubuntu-latest
37-
3821 steps :
39-
4022 - name : Checkout
41-
4223 uses : actions/checkout@v4
43-
4424
45-
4625 - name : Setup Pages
47-
4826 uses : actions/configure-pages@v4
49-
5027
51-
5228 - name : Build with Jekyll
53-
5429 uses : actions/jekyll-build-pages@v1
55-
5630 with :
57-
5831 source : ./
59-
6032 destination : ./_site
61-
6233
63-
6434 - name : Upload artifact
65-
6635 uses : actions/upload-pages-artifact@v3
6736
6837 deploy :
69-
7038 environment :
71-
7239 name : github-pages
73-
7440 url : ${{ steps.deployment.outputs.page_url }}
75-
7641 runs-on : ubuntu-latest
77-
7842 needs : build
79-
8043 steps :
81-
8244 - name : Deploy to GitHub Pages
83-
8445 id : deployment
85-
8646 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments