File tree Expand file tree Collapse file tree 1 file changed +1
-87
lines changed
Expand file tree Collapse file tree 1 file changed +1
-87
lines changed Original file line number Diff line number Diff line change 1-
2- # name: Deploy to GitHub Pages
3-
4- on :
5-
6- push :
7-
8- branches : [ main ]
9-
10- pull_request :
11-
12- branches : [ main ]
13-
14- # Permisos necesarios para GitHub Pages
15-
16- permissions :
17-
18- contents : read
19-
20- pages : write
21-
22- id-token : write
23-
24- # Evitar deployments concurrentes
25-
26- concurrency :
27-
28- group : " pages"
29-
30- cancel-in-progress : false
31-
32- jobs :
33-
34- build :
35-
36- runs-on : ubuntu-latest
37-
38- steps :
39-
40- - name : Checkout
41-
42- uses : actions/checkout@v4
43-
44-
45-
46- - name : Setup Pages
47-
48- uses : actions/configure-pages@v4
49-
50-
51-
52- - name : Build with Jekyll
53-
54- uses : actions/jekyll-build-pages@v1
55-
56- with :
57-
58- source : ./
59-
60- destination : ./_site
61-
62-
63-
64- - name : Upload artifact
65-
66- uses : actions/upload-pages-artifact@v3
67-
68- deploy :
69-
70- environment :
71-
72- name : github-pages
73-
74- url : ${{ steps.deployment.outputs.page_url }}
75-
76- runs-on : ubuntu-latest
77-
78- needs : build
79-
80- steps :
81-
82- - name : Deploy to GitHub Pages
83-
84- id : deployment
85-
86- uses : actions/deploy-pages@v4
87-
1+ # [Pega aquà el contenido del workflow de arriba]
You can’t perform that action at this time.
0 commit comments