mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2020-03-05 19:33:09
This commit is contained in:
27
.github/workflows/test.yaml
vendored
Normal file
27
.github/workflows/test.yaml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
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 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}
|
||||
|
||||
Reference in New Issue
Block a user