build: adds isOnWhitelist boolean attribute (#1280) #285
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Deploy All Workers | |
on: | |
push: | |
branches: | |
- v3/prod | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy All Workers | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- name: Deploy Workers | |
shell: bash | |
run: apps/deployWorkers.sh | |
env: | |
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_WORKER_TOKEN }} | |
- name: Install Tenderly | |
run: curl https://raw.githubusercontent.com/Tenderly/tenderly-cli/master/scripts/install-linux.sh | sh | |
- name: Login to Tenderly | |
run: tenderly login --authentication-method access-key --access-key ${{ secrets.TENDERLY_API_KEY }} | |
- name: Deploy Tenderly Actions | |
run: yarn nx affected --target deploy-tenderly --base=v3/prod~1 --head=v3/prod |