File tree Expand file tree Collapse file tree 3 files changed +26
-32
lines changed Expand file tree Collapse file tree 3 files changed +26
-32
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ updates:
6
6
interval : ' daily'
7
7
time : ' 02:00'
8
8
target-branch : ' main'
9
- - package-ecosystem : ' npm'
10
- directory : ' /'
11
- target-branch : ' master'
12
- schedule :
13
- interval : ' daily'
14
- time : ' 01:00'
15
9
- package-ecosystem : ' github-actions'
16
10
directory : ' /'
17
11
schedule :
Original file line number Diff line number Diff line change 1
1
name : Build and Deploy Docs
2
2
on :
3
- push :
4
- branches :
5
- - master
3
+ push :
4
+ branches :
5
+ - main
6
6
jobs :
7
- build-and-deploy-docs :
8
- runs-on : ubuntu-latest
9
- steps :
10
- - name : Checkout
11
-
12
- - name : Setup Node.js
13
- uses : actions/setup-node@v4
14
- with :
15
- node-version : ' 20'
16
- # Pre-check to validate that versions match between package.json
17
- # and package-lock.json. Needs to run before npm install
18
- - name : Validate package.json and package-lock.json versions
19
- run : node version-check.js
20
- - name : Install dependencies
21
- run : npm ci
22
- - name : Build docs
23
- run : npm run docs
7
+ build-and-deploy-docs :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout
11
+
12
+ - name : Setup Node.js
13
+ uses : actions/setup-node@v4
14
+ with :
15
+ node-version : ' 20'
16
+ # Pre-check to validate that versions match between package.json
17
+ # and package-lock.json. Needs to run before npm install
18
+ - name : Validate package.json and package-lock.json versions
19
+ run : node version-check.js
20
+ - name : Install dependencies
21
+ run : npm ci
22
+ - name : Build docs
23
+ run : npm run docs
24
24
25
- - name : Deploy docs
26
-
27
- with :
28
- branch : gh-pages # The branch the action should deploy to.
29
- folder : docs # The folder the action should deploy.
25
+ - name : Deploy docs
26
+
27
+ with :
28
+ branch : gh-pages # The branch the action should deploy to.
29
+ folder : docs # The folder the action should deploy.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [[ "${branch}" != "main" ]]; then
8
8
fi
9
9
10
10
if ! git diff --quiet; then
11
- echo " This script must only run on a clean master branch."
11
+ echo " This script must only run on a clean main branch."
12
12
echo
13
13
git status
14
14
exit 1
You can’t perform that action at this time.
0 commit comments