Skip to content

Commit

Permalink
Set full workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Nov 29, 2023
1 parent e632a54 commit 4420652
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/dev-depoly.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: Dev-Deploy

# on:
# workflow_run:
# workflows: [Dev-Test]
# types: [completed]

on:
push:
branches:
- develop
workflow_run:
workflows: [Dev-Test]
types: [completed]

permissions:
id-token: write # This is required for requesting the JWT
Expand All @@ -17,7 +12,7 @@ permissions:
jobs:
deploy:
runs-on: ubuntu-latest
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Dev-Test
on:
push:
branches:
- main
- develop

env:
DATABASE_URL: postgres://user:password@localhost:5432/readux
Expand Down

0 comments on commit 4420652

Please sign in to comment.