ADD: deploy.yaml
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
name: deploy-chabokan
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: '18'
|
||||||
|
- name: update-chabokan
|
||||||
|
env:
|
||||||
|
CHABOKAN_TOKEN: ${{ secrets.CHABOKAN_TOKEN }}
|
||||||
|
run: |
|
||||||
|
npm install -g @chabokan.net/cli
|
||||||
|
chabok login -t $CHABOKAN_TOKEN
|
||||||
|
chabok deploy -s bm-api
|
||||||
Reference in New Issue
Block a user