We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f347ba2 commit bd2742bCopy full SHA for bd2742b
.github/workflows/deploy.yml
@@ -6,11 +6,18 @@ on:
6
- Laravel Pint
7
types:
8
- completed
9
+ release:
10
+ types:
11
+ - published
12
13
jobs:
14
deploy:
15
runs-on: ubuntu-latest
16
17
+ environment: ${{ github.event_name == 'workflow_run' && 'staging' || 'production' }}
18
+
19
steps:
20
- name: Deploy to Forge
- 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