Contract L1 Chain (#1227) #772
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: deployer | |
on: | |
push: | |
branches: | |
- main | |
env: | |
CLOUDSDK_CORE_DISABLE_PROMPTS: 1 | |
jobs: | |
deploy-dev-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_DEV_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-dev-backend | |
deploy-prod-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-backend | |
deploy-dev-tokenprocessing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_DEV_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-dev-tokenprocessing | |
deploy-prod-tokenprocessing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-tokenprocessing | |
deploy-prod-indexer-api: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-indexer-server | |
deploy-dev-emails: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_DEV_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-dev-emails | |
deploy-prod-emails: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-emails | |
deploy-dev-feed: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_DEV_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-dev-feed | |
deploy-prod-feed: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-feed | |
deploy-dev-feedbot: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_DEV_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-dev-feedbot | |
deploy-prod-feedbot: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-feedbot | |
deploy-dev-graphql-gateway: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
gcp-credentials-json: ${{ secrets.GCP_DEV_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-dev-graphql-gateway | |
deploy-prod-graphql-gateway: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-graphql-gateway | |
deploy-dev-pushnotifications: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_DEV_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-dev-pushnotifications | |
deploy-prod-pushnotifications: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-pushnotifications | |
deploy-dev-autosocial: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_DEV_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-dev-autosocial | |
deploy-prod-autosocial: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-autosocial | |
deploy-dev-autosocial-orchestrator: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_DEV_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-dev-autosocial-orch | |
deploy-prod-autosocial-orchestrator: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Install build deps' | |
uses: ./.github/actions/build-deps | |
with: | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
gcp-credentials-json: ${{ secrets.GCP_PROD_CREDENTIALS }} | |
- name: 'Deploy' | |
run: make deploy-prod-autosocial-orch |