yude-moe/.github/workflows/aerobatic.yml

23 lines
519 B
YAML
Raw Normal View History

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 20:42:44 +09:00
- name: Install dependencies
run: npm install aerobatic-cli --save
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:42:44 +09:00
run: aero deploy
2020-09-05 09:14:43 +09:00
env:
FIREBASE_TOKEN: ${{ secrets.AEROBATIC_API_KEY }}