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

23 lines
504 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 23:59:32 +09:00
- name: Checkout Repo
uses: actions/checkout@master
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
2020-09-05 23:59:32 +09:00
run: npm install
2020-09-05 09:17:17 +09:00
- name: Deploy to Aerobatic
2020-09-05 23:54:00 +09:00
run: npm run deploy
2020-09-05 09:14:43 +09:00
env:
2020-09-06 00:05:25 +09:00
AEROBATIC_API_KEY: ${{ secrets.AEROBATIC_API_KEY }}