Merge pull request #358 from citizensadvice/url-monitoring #178
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dev Deployment | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| build: | |
| name: Build Image | |
| runs-on: runs-on | |
| permissions: | |
| id-token: write | |
| contents: read | |
| issues: read | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Build and push to ECR | |
| uses: citizensadvice/build-and-private-ecr-push-action@v3 | |
| with: | |
| role_arn: "arn:aws:iam::979633842206:role/LocalOfficeSearchApiDeployment" | |
| dockerfile_context: "." | |
| repository_name: local-office-search-api | |
| multiarch_build: "disabled" | |
| prod_image: true | |
| auth_token: ${{ secrets.GITHUB_TOKEN }} | |
| deploy: | |
| name: Deploy dev | |
| needs: | |
| - build | |
| uses: ./.github/workflows/deploy_stage.yml | |
| with: | |
| stage: dev | |
| secrets: inherit |