Deploy Resource Dev #33
Workflow file for this run
This file contains 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: Deploy Resource Dev | |
on: | |
workflow_run: | |
workflows: ["Python tests resource"] | |
branches: [preprod] | |
types: | |
- completed | |
workflow_dispatch: | |
branches: | |
- kip/* | |
env: | |
AWS_REGION: eu-west-2 # set this to your preferred AWS region, e.g. us-west-1 | |
jobs: | |
deploy-resource-dev: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: ${{ env.AWS_REGION }} | |
- name: Deploy authentication | |
uses: ./.github/templates/deploy/ | |
with: | |
folder: resource | |
env: dev | |
service_name: perseus-resource |