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:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["publish"]
|
workflows: ["docker image"]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
concurrency:
|
concurrency:
|
||||||
|
@ -10,7 +10,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
deployment:
|
deployment:
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
name: Preview Deployment
|
name: deployment to preview environment
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: ${{ vars.DEPLOY_ENV }}
|
environment: ${{ vars.DEPLOY_ENV }}
|
||||||
steps:
|
steps:
|
||||||
|
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
@ -2,7 +2,7 @@ name: docker image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["tests"]
|
workflows: ["unit test"]
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- activitypub
|
- activitypub
|
||||||
|
|
Loading…
Add table
Reference in a new issue