mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-12 00:11:36 +00:00
2020-03-06 13:29:16
This commit is contained in:
28
.github/workflows/bak/test.yaml
vendored
Normal file
28
.github/workflows/bak/test.yaml
vendored
Normal 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}
|
||||
|
||||
Reference in New Issue
Block a user