2020-09-05 09:14:43 +09:00
|
|
|
name: Aerobatic
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
name: Deploy
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-09-05 20:14:16 +09:00
|
|
|
- uses: actions/checkout@v2
|
2020-09-05 20:31:09 +09:00
|
|
|
- uses: actions/setup-node@v1
|
2020-09-05 20:14:16 +09:00
|
|
|
with:
|
|
|
|
node-version: '12'
|
2020-09-05 09:14:43 +09:00
|
|
|
- name: Checkout Repo
|
|
|
|
uses: actions/checkout@master
|
2020-09-05 09:17:17 +09:00
|
|
|
- name: Deploy to Aerobatic
|
2020-09-05 20:36:17 +09:00
|
|
|
run: npm install aerobatic-cli --save & aero deploy
|
2020-09-05 09:14:43 +09:00
|
|
|
env:
|
|
|
|
FIREBASE_TOKEN: ${{ secrets.AEROBATIC_API_KEY }}
|