fix deployment
This commit is contained in:
parent
22a94359b5
commit
932b13ce74
2 changed files with 4 additions and 4 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
name: deployment
|
||||
name: preview deployment
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["publish"]
|
||||
workflows: ["docker image"]
|
||||
types:
|
||||
- completed
|
||||
concurrency:
|
||||
|
@ -10,7 +10,7 @@ concurrency:
|
|||
jobs:
|
||||
deployment:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
name: Preview Deployment
|
||||
name: deployment to preview environment
|
||||
runs-on: ubuntu-latest
|
||||
environment: ${{ vars.DEPLOY_ENV }}
|
||||
steps:
|
||||
|
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
@ -2,7 +2,7 @@ name: docker image
|
|||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["tests"]
|
||||
workflows: ["unit test"]
|
||||
branches:
|
||||
- main
|
||||
- activitypub
|
||||
|
|
Loading…
Add table
Reference in a new issue