@@ -30,7 +30,7 @@ The next example step will deploy `./public` directory to the remote `gh-pages`
30
30
31
31
``` yaml
32
32
- name : Deploy
33
- uses : peaceiris/actions-gh-pages@v3
33
+ uses : peaceiris/actions-gh-pages@v4
34
34
with :
35
35
github_token : ${{ secrets.GITHUB_TOKEN }}
36
36
publish_dir : ./public
@@ -171,7 +171,7 @@ jobs:
171
171
run: hugo --minify
172
172
173
173
- name: Deploy
174
- uses: peaceiris/actions-gh-pages@v3
174
+ uses: peaceiris/actions-gh-pages@v4
175
175
# If you're changing the branch from main,
176
176
# also change the ` main` in `refs/heads/main`
177
177
# below accordingly.
@@ -201,7 +201,7 @@ A GitHub Actions runner automatically creates a `GITHUB_TOKEN` secret to use in
201
201
202
202
` ` ` yaml
203
203
- name: Deploy
204
- uses: peaceiris/actions-gh-pages@v3
204
+ uses: peaceiris/actions-gh-pages@v4
205
205
with:
206
206
github_token: ${{ secrets.GITHUB_TOKEN }}
207
207
publish_dir: ./public
@@ -215,7 +215,7 @@ Read [Create SSH Deploy Key](#%EF%B8%8F-create-ssh-deploy-key), create your SSH
215
215
216
216
` ` ` yaml
217
217
- name: Deploy
218
- uses: peaceiris/actions-gh-pages@v3
218
+ uses: peaceiris/actions-gh-pages@v4
219
219
with:
220
220
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
221
221
publish_dir: ./public
@@ -227,7 +227,7 @@ Read [Create SSH Deploy Key](#%EF%B8%8F-create-ssh-deploy-key), create your SSH
227
227
228
228
` ` ` yaml
229
229
- name: Deploy
230
- uses: peaceiris/actions-gh-pages@v3
230
+ uses: peaceiris/actions-gh-pages@v4
231
231
with:
232
232
personal_token: ${{ secrets.PERSONAL_TOKEN }}
233
233
publish_dir: ./public
@@ -240,7 +240,7 @@ The default is `gh-pages`.
240
240
241
241
` ` ` yaml
242
242
- name: Deploy
243
- uses: peaceiris/actions-gh-pages@v3
243
+ uses: peaceiris/actions-gh-pages@v4
244
244
with:
245
245
github_token: ${{ secrets.GITHUB_TOKEN }}
246
246
publish_branch: your-branch # default: gh-pages
@@ -253,7 +253,7 @@ Only the contents of this dir are pushed to GitHub Pages branch, `gh-pages` by d
253
253
254
254
` ` ` yaml
255
255
- name: Deploy
256
- uses: peaceiris/actions-gh-pages@v3
256
+ uses: peaceiris/actions-gh-pages@v4
257
257
with:
258
258
github_token: ${{ secrets.GITHUB_TOKEN }}
259
259
publish_dir: ./out # default: public
@@ -268,7 +268,7 @@ A destination subdirectory on a publishing branch. The default is empty.
268
268
269
269
` ` ` yaml
270
270
- name: Deploy
271
- uses: peaceiris/actions-gh-pages@v3
271
+ uses: peaceiris/actions-gh-pages@v4
272
272
with:
273
273
github_token: ${{ secrets.GITHUB_TOKEN }}
274
274
destination_dir: subdir
@@ -285,7 +285,7 @@ Values should be split with a comma.
285
285
286
286
` ` ` yaml
287
287
- name: Deploy
288
- uses: peaceiris/actions-gh-pages@v3
288
+ uses: peaceiris/actions-gh-pages@v4
289
289
with:
290
290
github_token: ${{ secrets.GITHUB_TOKEN }}
291
291
exclude_assets: '.github,exclude-file1,exclude-file2'
@@ -295,7 +295,7 @@ Set `exclude_assets` to empty for including the `.github` directory to deploymen
295
295
296
296
` ` ` yaml
297
297
- name: Deploy
298
- uses: peaceiris/actions-gh-pages@v3
298
+ uses: peaceiris/actions-gh-pages@v4
299
299
with:
300
300
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} # Recommended for this usage
301
301
# personal_token: ${{ secrets.PERSONAL_TOKEN }} # An alternative
@@ -307,7 +307,7 @@ The `exclude_assets` option supports glob patterns.
307
307
308
308
` ` ` yaml
309
309
- name: Deploy
310
- uses: peaceiris/actions-gh-pages@v3
310
+ uses: peaceiris/actions-gh-pages@v4
311
311
with:
312
312
github_token: ${{ secrets.GITHUB_TOKEN }}
313
313
exclude_assets: '.github,exclude-file.txt,exclude-dir/**.txt'
@@ -322,7 +322,7 @@ For more details about the `CNAME` file, read the official documentation: [Manag
322
322
323
323
` ` ` yaml
324
324
- name: Deploy
325
- uses: peaceiris/actions-gh-pages@v3
325
+ uses: peaceiris/actions-gh-pages@v4
326
326
with:
327
327
github_token: ${{ secrets.GITHUB_TOKEN }}
328
328
publish_dir: ./public
@@ -340,7 +340,7 @@ Bypassing Jekyll makes the deployment faster and is necessary if you are deployi
340
340
341
341
` ` ` yaml
342
342
- name: Deploy
343
- uses: peaceiris/actions-gh-pages@v3
343
+ uses: peaceiris/actions-gh-pages@v4
344
344
with:
345
345
github_token: ${{ secrets.GITHUB_TOKEN }}
346
346
publish_dir: ./public
@@ -357,7 +357,7 @@ For example:
357
357
358
358
` ` ` yaml
359
359
- name: Deploy
360
- uses: peaceiris/actions-gh-pages@v3
360
+ uses: peaceiris/actions-gh-pages@v4
361
361
with:
362
362
github_token: ${{ secrets.GITHUB_TOKEN }}
363
363
publish_dir: ./public
@@ -377,7 +377,7 @@ For example:
377
377
378
378
` ` ` yaml
379
379
- name: Deploy
380
- uses: peaceiris/actions-gh-pages@v3
380
+ uses: peaceiris/actions-gh-pages@v4
381
381
with:
382
382
github_token: ${{ secrets.GITHUB_TOKEN }}
383
383
publish_dir: ./public
@@ -396,7 +396,7 @@ For example:
396
396
397
397
` ` ` yaml
398
398
- name: Deploy
399
- uses: peaceiris/actions-gh-pages@v3
399
+ uses: peaceiris/actions-gh-pages@v4
400
400
with:
401
401
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
402
402
external_repository: username/external-repository
@@ -423,7 +423,7 @@ This allows you to make your publish branch with only the latest commit.
423
423
424
424
` ` ` yaml
425
425
- name: Deploy
426
- uses: peaceiris/actions-gh-pages@v3
426
+ uses: peaceiris/actions-gh-pages@v4
427
427
with:
428
428
github_token: ${{ secrets.GITHUB_TOKEN }}
429
429
publish_dir: ./public
@@ -437,7 +437,7 @@ A commit is always created with the same user.
437
437
438
438
` ` ` yaml
439
439
- name: Deploy
440
- uses: peaceiris/actions-gh-pages@v3
440
+ uses: peaceiris/actions-gh-pages@v4
441
441
with:
442
442
github_token: ${{ secrets.GITHUB_TOKEN }}
443
443
publish_dir: ./public
@@ -454,7 +454,7 @@ When we create a commit with a message `docs: Update some post`, a deployment co
454
454
455
455
` ` ` yaml
456
456
- name: Deploy
457
- uses: peaceiris/actions-gh-pages@v3
457
+ uses: peaceiris/actions-gh-pages@v4
458
458
with:
459
459
github_token: ${{ secrets.GITHUB_TOKEN }}
460
460
publish_dir: ./public
@@ -468,7 +468,7 @@ use the `full_commit_message` option instead of the `commit_message` option.
468
468
469
469
` ` ` yaml
470
470
- name: Deploy
471
- uses: peaceiris/actions-gh-pages@v3
471
+ uses: peaceiris/actions-gh-pages@v4
472
472
with:
473
473
github_token: ${{ secrets.GITHUB_TOKEN }}
474
474
publish_dir: ./public
@@ -508,7 +508,7 @@ jobs:
508
508
echo "DEPLOY_TAG_NAME=deploy-${TAG_NAME}" >> "${GITHUB_OUTPUT}"
509
509
510
510
- name: Deploy
511
- uses: peaceiris/actions-gh-pages@v3
511
+ uses: peaceiris/actions-gh-pages@v4
512
512
with:
513
513
github_token: ${{ secrets.GITHUB_TOKEN }}
514
514
publish_dir: ./public
@@ -666,7 +666,7 @@ Our project builds and provides build assets only when creating a release. This
666
666
In this project, a major tag (e.g. v3) is guaranteed to contain no breaking changes. But, we recommend using a tag or a commit hash for the stability of your workflows.
667
667
668
668
` ` ` yaml
669
- - uses: peaceiris/actions-gh-pages@v3.9.3 # tag: Better
669
+ - uses: peaceiris/actions-gh-pages@v4.0.0 # tag: Better
670
670
with:
671
671
github_token: ${{ secrets.GITHUB_TOKEN }}
672
672
publish_dir: ./public
@@ -751,7 +751,7 @@ jobs:
751
751
- run: npm run build
752
752
753
753
- name: Deploy
754
- uses: peaceiris/actions-gh-pages@v3
754
+ uses: peaceiris/actions-gh-pages@v4
755
755
if: github.ref == 'refs/heads/main'
756
756
with:
757
757
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -803,7 +803,7 @@ jobs:
803
803
- run: npm run build
804
804
805
805
- name: Deploy
806
- uses: peaceiris/actions-gh-pages@v3
806
+ uses: peaceiris/actions-gh-pages@v4
807
807
if: github.ref == 'refs/heads/main'
808
808
with:
809
809
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -858,7 +858,7 @@ jobs:
858
858
- run: yarn export
859
859
860
860
- name: Deploy
861
- uses: peaceiris/actions-gh-pages@v3
861
+ uses: peaceiris/actions-gh-pages@v4
862
862
if: github.ref == 'refs/heads/main'
863
863
with:
864
864
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -911,7 +911,7 @@ jobs:
911
911
- run: npm run generate
912
912
913
913
- name: deploy
914
- uses: peaceiris/actions-gh-pages@v3
914
+ uses: peaceiris/actions-gh-pages@v4
915
915
if: github.ref == 'refs/heads/main'
916
916
with:
917
917
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -972,7 +972,7 @@ jobs:
972
972
- run: yarn build
973
973
974
974
- name: Deploy
975
- uses: peaceiris/actions-gh-pages@v3
975
+ uses: peaceiris/actions-gh-pages@v4
976
976
if: github.ref == 'refs/heads/main'
977
977
with:
978
978
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -1036,7 +1036,7 @@ jobs:
1036
1036
- run: mkdocs build
1037
1037
1038
1038
- name: Deploy
1039
- uses: peaceiris/actions-gh-pages@v3
1039
+ uses: peaceiris/actions-gh-pages@v4
1040
1040
if: github.ref == 'refs/heads/main'
1041
1041
with:
1042
1042
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -1079,7 +1079,7 @@ jobs:
1079
1079
- run: mdbook build
1080
1080
1081
1081
- name: Deploy
1082
- uses: peaceiris/actions-gh-pages@v3
1082
+ uses: peaceiris/actions-gh-pages@v4
1083
1083
if: github.ref == 'refs/heads/main'
1084
1084
with:
1085
1085
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -1129,7 +1129,7 @@ jobs:
1129
1129
run: flutter build web
1130
1130
1131
1131
- name: Deploy
1132
- uses: peaceiris/actions-gh-pages@v3
1132
+ uses: peaceiris/actions-gh-pages@v4
1133
1133
if: github.ref == 'refs/heads/main'
1134
1134
with:
1135
1135
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -1180,7 +1180,7 @@ jobs:
1180
1180
# provide --output=<output-file> option for ` elm make` and remove this step
1181
1181
1182
1182
- name : Deploy
1183
- uses : peaceiris/actions-gh-pages@v3
1183
+ uses : peaceiris/actions-gh-pages@v4
1184
1184
if : github.ref == 'refs/heads/main'
1185
1185
with :
1186
1186
github_token : ${{ secrets.GITHUB_TOKEN }}
@@ -1233,7 +1233,7 @@ jobs:
1233
1233
- run : publish-cli generate
1234
1234
1235
1235
- name : Deploy to GitHub Pages
1236
- uses : peaceiris/actions-gh-pages@v3
1236
+ uses : peaceiris/actions-gh-pages@v4
1237
1237
if : github.ref == 'refs/heads/main'
1238
1238
with :
1239
1239
github_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments