7
7
- ' *.*'
8
8
branches :
9
9
- dev
10
- - releases/v3
10
+ - releases/v4
11
11
12
12
jobs :
13
13
# Deploys using checkout@v1 with an ACCESS_TOKEN.
@@ -18,14 +18,14 @@ jobs:
18
18
uses : actions/checkout@v1
19
19
20
20
- name : Build and Deploy
21
- uses : JamesIves/github-pages-deploy-action@releases/v3
21
+ uses : JamesIves/github-pages-deploy-action@releases/v4
22
22
with :
23
- ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
24
- BRANCH : gh-pages
25
- FOLDER : integration
26
- TARGET_FOLDER : cat/montezuma
27
- GIT_CONFIG_NAME : Montezuma
28
- GIT_CONFIG_EMAIL : montezuma@jamesiv.es
23
+ token : ${{ secrets.ACCESS_TOKEN }}
24
+ branch : gh-pages
25
+ folder : integration
26
+ target-folder : cat/montezuma
27
+ git-config-name : Montezuma
28
+ git-config-email : montezuma@jamesiv.es
29
29
30
30
- name : Cleanup Generated Branch
31
31
uses : dawidd6/action-delete-branch@v2.0.1
@@ -44,12 +44,11 @@ jobs:
44
44
persist-credentials : false
45
45
46
46
- name : Build and Deploy
47
- uses : JamesIves/github-pages-deploy-action@releases/v3
47
+ uses : JamesIves/github-pages-deploy-action@releases/v4
48
48
with :
49
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
- BRANCH : gh-pages
51
- FOLDER : integration
52
- TARGET_FOLDER : cat/montezuma2
49
+ branch : gh-pages
50
+ folder : integration
51
+ target-folder : cat/montezuma2
53
52
54
53
- name : Cleanup Generated Branch
55
54
uses : dawidd6/action-delete-branch@v2.0.1
@@ -77,12 +76,11 @@ jobs:
77
76
apt-get update && apt-get install -y rsync
78
77
79
78
- name : Build and Deploy
80
- uses : JamesIves/github-pages-deploy-action@releases/v3
79
+ uses : JamesIves/github-pages-deploy-action@releases/v4
81
80
with :
82
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
83
- BRANCH : gh-pages
84
- FOLDER : integration
85
- TARGET_FOLDER : cat/montezuma2
81
+ branch : gh-pages
82
+ folder : integration
83
+ target-folder : cat/montezuma2
86
84
87
85
- name : Cleanup Generated Branch
88
86
uses : dawidd6/action-delete-branch@v2.0.1
@@ -106,12 +104,12 @@ jobs:
106
104
ssh-private-key : ${{ secrets.DEPLOY_KEY }}
107
105
108
106
- name : Build and Deploy
109
- uses : JamesIves/github-pages-deploy-action@releases/v3
107
+ uses : JamesIves/github-pages-deploy-action@releases/v4
110
108
with :
111
- SSH : true
112
- BRANCH : gh-pages
113
- FOLDER : integration
114
- TARGET_FOLDER : cat/montezuma3
109
+ ssh : true
110
+ branch : gh-pages
111
+ folder : integration
112
+ target-folder : cat/montezuma3
115
113
116
114
- name : Cleanup Generated Branch
117
115
uses : dawidd6/action-delete-branch@v2.0.1
@@ -139,12 +137,12 @@ jobs:
139
137
ssh-private-key : ${{ secrets.DEPLOY_KEY }}
140
138
141
139
- name : Build and Deploy
142
- uses : JamesIves/github-pages-deploy-action@releases/v3
140
+ uses : JamesIves/github-pages-deploy-action@releases/v4
143
141
with :
144
- SSH : true
145
- BRANCH : gh-pages
146
- FOLDER : integration
147
- TARGET_FOLDER : cat/montezuma4
142
+ ssh : true
143
+ branch : gh-pages
144
+ folder : integration
145
+ target-folder : cat/montezuma4
148
146
149
147
- name : Cleanup Generated Branch
150
148
uses : dawidd6/action-delete-branch@v2.0.1
@@ -163,12 +161,12 @@ jobs:
163
161
persist-credentials : false
164
162
165
163
- name : Build and Deploy
166
- uses : JamesIves/github-pages-deploy-action@releases/v3
164
+ uses : JamesIves/github-pages-deploy-action@releases/v4
167
165
with :
168
- ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
169
- BRANCH : gh-pages
170
- FOLDER : integration
171
- CLEAN : true
166
+ token : ${{ secrets.ACCESS_TOKEN }}
167
+ branch : gh-pages
168
+ folder : integration
169
+ clean : true
172
170
173
171
# Deploys to a branch that doesn't exist with SINGLE_COMMIT.
174
172
integration-branch-creation :
@@ -181,12 +179,12 @@ jobs:
181
179
persist-credentials : false
182
180
183
181
- name : Build and Deploy
184
- uses : JamesIves/github-pages-deploy-action@releases/v3
182
+ uses : JamesIves/github-pages-deploy-action@releases/v4
185
183
with :
186
- ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
187
- BRANCH : integration-test-delete-prod
188
- FOLDER : integration
189
- SINGLE_COMMIT : true
184
+ token : ${{ secrets.ACCESS_TOKEN }}
185
+ branch : integration-test-delete-prod
186
+ folder : integration
187
+ single-commit : true
190
188
191
189
- name : Cleanup Generated Branch
192
190
uses : dawidd6/action-delete-branch@v2.0.1
0 commit comments