Skip to content

Commit

Permalink
feat: trigger a deployment on every successful build
Browse files Browse the repository at this point in the history
  • Loading branch information
totev committed Feb 8, 2022
1 parent 7eff1d0 commit 4d34ced
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,14 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

deploy:
needs:
- backend-build-and-push-image
- frontend-build-and-push-image
runs-on: ubuntu-latest
steps:
- name: "☁️ deploy"
run: gh workflow run ligfinder --repo github.com/digitalcityscience/continuous-deployment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4d34ced

Please sign in to comment.