Update karate_whoop_late_2024.txt (#491) #1654
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: CI - Indexer job (deploy if default branch - i.e. main) | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [15.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- if: github.ref != 'refs/heads/master' || github.repository_owner != 'betaflight' | |
name: Run the checker script | |
run: ./scripts/build.sh | |
- if: github.ref == 'refs/heads/master' && github.repository_owner == 'betaflight' | |
name: Run the checker, indexer and deployment script | |
run: ./scripts/build.sh deploy | |
env: | |
AWS_DISTRIBUTION_ID: ${{secrets.AWS_DISTRIBUTION_ID}} | |
AWS_BUCKET: api.betaflight.com | |
AWS_REGION: us-east-1 | |
AWS_DEFAULT_REGION: us-east-1 | |
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} | |
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} |