Skip to content

Added the BetaFPV Air75 Factory Defaults #1642

Added the BetaFPV Air75 Factory Defaults

Added the BetaFPV Air75 Factory Defaults #1642

Workflow file for this run

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}}