Deploy to production #601
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 production | |
permissions: | |
id-token: write | |
contents: read | |
on: | |
push: | |
branches: | |
- release-al2 | |
# 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: 'production' | |
provisionedConcurrency: 10 | |
checkoutBranch: 'release-al2' | |
secrets: inherit |