Skip to content

Commit a6231d4

Browse files
committed
ci: deploy should be a step, not a job
1 parent f0c4728 commit a6231d4

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: CI
2-
31
on:
42
pull_request:
53
push:
@@ -9,8 +7,7 @@ jobs:
97
build:
108
runs-on: ubuntu-latest
119
steps:
12-
- uses: actions/checkout@v3
13-
10+
- uses: actions/checkout@v4
1411
- uses: actions/cache@v3
1512
id: yarn-cache
1613
with:
@@ -24,12 +21,9 @@ jobs:
2421
yarn test:types
2522
yarn lint
2623
27-
deploy-docs:
28-
if: github.ref == 'refs/heads/master'
29-
runs-on: ubuntu-latest
30-
steps:
3124
- name: Trigger deploy
25+
if: github.ref == 'refs/heads/master'
3226
env:
3327
deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
3428
run: |
35-
curl -X GET "$deploy_url"
29+
curl "$deploy_url"

0 commit comments

Comments
 (0)