2020-03-06 13:29:16

This commit is contained in:
monlor
2020-03-06 13:29:16 +08:00
parent 32e17d5472
commit 12e0abf478
6 changed files with 69 additions and 20 deletions

28
.github/workflows/bak/test.yaml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Test-CI
on:
push:
tags:
- test-*
env:
GH_REF: ${{ secrets.GH_REF }}
CO_REF: ${{ secrets.CO_REF }}
jobs:
master-job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Pack And Deploy
env:
BRANCH_NAME: test
run: |
git fetch origin ${BRANCH_NAME}
git checkout ${BRANCH_NAME}
bash ./tools/gitsync.sh pack
bash ./tools/gitsync.sh deploy mbfiles ${BRANCH_NAME} ${GH_REF}
bash ./tools/gitsync.sh deploy mbfiles ${BRANCH_NAME} ${CO_REF}