1
+ ---
1
2
# This workflow uses actions that are not certified by GitHub.
2
3
# They are provided by a third-party and are governed by
3
4
# separate terms of service, privacy policy, and support
4
5
# documentation.
5
6
6
7
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7
8
name : Deploy Jekyll site to Pages
8
-
9
9
on :
10
10
# Runs on pushes targeting the default branch
11
11
push :
12
- branches : ["dev"]
12
+ branches : [dev]
13
+ paths :
14
+ - docs/**/*
13
15
14
16
# Allows you to run this workflow manually from the Actions tab
15
17
workflow_dispatch :
16
-
17
18
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
18
19
permissions :
19
20
contents : read
20
21
pages : write
21
22
id-token : write
22
-
23
23
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
24
24
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
25
25
concurrency :
26
- group : " pages"
26
+ group : pages
27
27
cancel-in-progress : false
28
-
29
28
jobs :
30
29
# Build job
31
30
build :
@@ -34,12 +33,12 @@ jobs:
34
33
- name : Checkout
35
34
uses : actions/checkout@v4
36
35
- name : Setup Ruby
37
- uses : ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
36
+ uses : ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
38
37
with :
39
- ruby-version : ' 3.2' # Not needed with a .ruby-version file
40
- bundler-cache : true # runs 'bundle install' and caches installed gems automatically
41
- cache-version : 0 # Increment this number if you need to re-download cached gems
42
- working-directory : docs # Needed if your Gemfile is not in the root directory
38
+ ruby-version : ' 3.2' # Not needed with a .ruby-version file
39
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
40
+ cache-version : 0 # Increment this number if you need to re-download cached gems
41
+ working-directory : docs # Needed if your Gemfile is not in the root directory
43
42
- name : Setup Pages
44
43
id : pages
45
44
uses : actions/configure-pages@v4
65
64
steps :
66
65
- name : Deploy to GitHub Pages
67
66
id : deployment
68
- uses : actions/deploy-pages@v4
67
+ uses : actions/deploy-pages@v4
0 commit comments