diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 824574b3..0223dd9e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2cfbab0a..aa4d9c1e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: docker image on: workflow_run: - workflows: ["tests"] + workflows: ["unit test"] branches: - main - activitypub