Deploy to staging #950
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 staging | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
id-token: write | |
contents: read | |
on: | |
push: | |
branches: | |
- staging | |
# 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: 'staging' | |
provisionedConcurrency: 1 | |
checkoutBranch: 'staging' | |
secrets: inherit |