Skip to content

Commit bd2742b

Browse files
wip
1 parent f347ba2 commit bd2742b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,18 @@ on:
66
- Laravel Pint
77
types:
88
- completed
9+
release:
10+
types:
11+
- published
912

1013
jobs:
1114
deploy:
1215
runs-on: ubuntu-latest
1316

17+
environment: ${{ github.event_name == 'workflow_run' && 'staging' || 'production' }}
18+
1419
steps:
1520
- name: Deploy to Forge
16-
run: curl https://forge.laravel.com/servers/769810/sites/2484103/deploy/http?token=WaxNS8h9evUPNbKNWO4sI4oh6IFMBSpWQHJYjDHv
21+
env:
22+
DEPLOY_URL: ${{ vars.DEPLOY_URL }}
23+
run: curl $DEPLOY_URL

0 commit comments

Comments
 (0)