Skip to content

Commit 44f4dfe

Browse files
author
Valentin Schneider-Lunitz
committed
CI: update build.yml
1 parent 061574c commit 44f4dfe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Setup Node.js environment
10-
uses: actions/setup-node@v2.5.1
10+
uses: actions/setup-node@v4
1111
with:
1212
node-version: 14.x
1313
# Comes with npm 6. For newer Node, encountered: https://github.com/npm/cli/issues/3359
1414
- run: npm install -g @redocly/openapi-cli && npm install -g redoc-cli
1515
- run: npm install -g gh-openapi-docs
1616
- name: Check out repository code
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
- run: gh-openapi-docs
1919
- name: Deploy 🚀
20-
uses: JamesIves/github-pages-deploy-action@v4.2.2
20+
uses: JamesIves/github-pages-deploy-action@v4
2121
with:
2222
branch: gh-pages
23+
clean: true # Clean only if on the main branch
2324
folder: .

0 commit comments

Comments
 (0)