Skip to content

Commit a2c3cb2

Browse files
committed
cleanup action
1 parent 931f347 commit a2c3cb2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,19 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 22
1616

1717
- run: npm ci
1818
- run: npm run build
1919

2020
- name: Deploy API to book-monkey5/api5-build (main branch)
21-
if: ${{ github.event_name == 'push' }}
2221
env:
2322
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2423
GITHUB_ORG: https://github.com/book-monkey5
2524
GITHUB_NAME: The Buildbot
2625
GITHUB_EMAIL: [email protected]
2726
NAME: api5-build
2827
run: npx angular-cli-ghpages --repo "$GITHUB_ORG/$NAME.git" --name "$GITHUB_NAME" --email "$GITHUB_EMAIL" --branch main --message "Auto-generated commit" --no-silent
29-

0 commit comments

Comments
 (0)