Skip to content

Commit 332f57b

Browse files
committed
Modernize CD.
1 parent 6ccc272 commit 332f57b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v2
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
1414
node-version: '14'
15-
- uses: actions/cache@v2
15+
- uses: actions/cache@v4
1616
with:
1717
path: '**/node_modules'
1818
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
1919
- run: yarn install
2020
- run: yarn run build
21-
- uses: JamesIves/github-pages-deploy-action@3.7.1
21+
- uses: JamesIves/github-pages-deploy-action@v4
2222
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
2323
with:
24-
GIT_CONFIG_NAME: 'RubyElders bot'
25-
GIT_CONFIG_EMAIL: 'info@rubyelders.com'
26-
BRANCH: gh-pages # The branch the action should deploy to.
27-
FOLDER: _site # The folder the action should deploy.
28-
CLEAN: true # Automatically remove deleted files from the deploy branch
24+
git-config-name: 'RubyElders bot'
25+
git-config-email: 'info@rubyelders.com'
26+
branch: gh-pages # The branch the action should deploy to.
27+
folder: _site # The folder the action should deploy.
28+
clean: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)