Skip to content

Commit

Permalink
Merge pull request #22 from laracasts/coverage
Browse files Browse the repository at this point in the history
wip
  • Loading branch information
lukeraymonddowning authored Sep 30, 2024
2 parents a45a708 + c7a9576 commit 601e247
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy

on:
workflow_run:
workflows:
- Laravel Pint
types:
- completed
release:
types:
- published

jobs:
deploy:
runs-on: ubuntu-latest

environment: ${{ github.event_name == 'workflow_run' && 'staging' || 'production' }}

steps:
- name: Deploy
env:
DEPLOY_URL: ${{ vars.DEPLOY_URL }}
run: curl $DEPLOY_URL

0 comments on commit 601e247

Please sign in to comment.