feat: decrease provisioned concurrency #744
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 prod environment | |
on: | |
push: | |
tags: | |
- prod* | |
jobs: | |
deploy: | |
name: Deploy Prod | |
runs-on: ubuntu-latest | |
environment: | |
name: prod | |
url: https://hub.sismo.io/doc | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Workflow wait for previous run | |
uses: ahmadnassri/action-workflow-queue@v1 | |
with: | |
timeout: 7200000 | |
delay: 60000 | |
- name: Build and deploy | |
uses: ./.github/actions/deploy | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
role-to-assume: ${{ secrets.AWS_DEPLOY_ROLE }} | |
stage: prod | |
static-bucket-name: ${{ secrets.STATIC_BUCKET_NAME }} | |
deployment-url: "https://hub.sismo.io/" | |
hive-api-key: ${{ secrets.HIVE_API_KEY }} | |
alchemy-api-key: ${{ secrets.ALCHEMY_API_KEY }} | |
json-rpc-url: ${{ secrets.JSON_RPC_URL }} | |
google-application-credentials: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
dune-api-key: ${{secrets.DUNE_API_KEY}} | |
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }} | |
ankr-api-key: ${{ secrets.ANKR_API_KEY }} | |
github-token: ${{ secrets.SH_GITHUB_TOKEN }} | |
tally-api-key: ${{ secrets.TALLY_API_KEY }} | |
twitter-api-key: ${{ secrets.TWITTER_API_KEY }} | |
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }} | |
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }} | |
telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | |
telegram-bot-session: ${{ secrets.TELEGRAM_BOT_SESSION }} | |
roci-api-key: ${{ secrets.ROCI_API_KEY }} |