Skip to content

Commit

Permalink
Update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Jul 14, 2024
1 parent a3a2b64 commit 8c70b0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Deploy to dev

on:
push:
workflow_run:
workflows: ["Django tests"]
types:
- completed
branches:
- dev

jobs:
run_pull:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: run server update
runs-on: ubuntu-latest
environment: Deployment
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Deploy to prod

on:
push:
workflow_run:
workflows: ["Django tests"]
types:
- completed
branches:
- master

jobs:
run_pull:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: run server update
runs-on: ubuntu-latest
environment: Deployment
Expand Down

0 comments on commit 8c70b0a

Please sign in to comment.