chore: specify checkout branch #33
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 to uat | |
permissions: | |
id-token: write | |
contents: read | |
on: | |
push: | |
branches: | |
- uat | |
# schedule builds for 12:00AM GMT+8 everyday to get latest virus definitions | |
schedule: | |
- cron: '0 16 * * *' | |
jobs: | |
deploy-scanner: | |
name: Deploy Scanner | |
uses: ./.github/workflows/aws-deploy-scanner.yml | |
with: | |
environment: 'uat' | |
provisionedConcurrency: 1 | |
checkoutBranch: 'uat' | |
secrets: inherit |