2020-03-05 19:00:42

This commit is contained in:
monlor
2020-03-05 19:00:43 +08:00
parent 937afb2f86
commit a3f6b6458c
3 changed files with 31 additions and 22 deletions

View File

@@ -12,11 +12,8 @@ jobs:
- name: Checkout
uses: actions/checkout@master
- name: Deploy
env:
GH_REF: ${{ secrets.GH_REF }}
CO_REF: ${{ secrets.CO_REF }}
- name: Pack And Deploy
run: |
bash ./tools/gitsync.sh pack
bash ./tools/gitsync.sh deploy mbfiles `git branch | awk '$1 == "*"{print $2}'` ${GH_REF}
bash ./tools/gitsync.sh deploy mbfiles `git branch | awk '$1 == "*"{print $2}'` ${CO_REF}
bash -x ./tools/gitsync.sh deploy mbfiles `git branch | awk '$1 == "*"{print $2}'` ${GH_REF}
bash -x ./tools/gitsync.sh deploy mbfiles `git branch | awk '$1 == "*"{print $2}'` ${CO_REF}