mirror of
https://github.com/koreanbots/core.git
synced 2025-12-17 06:40:24 +00:00
This commit is contained in:
parent
48b0b08893
commit
12d963ff6c
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
@ -61,3 +61,17 @@ jobs:
|
|||||||
run: echo '{"tester":"DEMO_KEY"}' > secret.json
|
run: echo '{"tester":"DEMO_KEY"}' > secret.json
|
||||||
- name: Docker Compose
|
- name: Docker Compose
|
||||||
run: docker-compose up -d
|
run: docker-compose up -d
|
||||||
|
deployBeta:
|
||||||
|
needs:
|
||||||
|
- Docker Image CI
|
||||||
|
name: Deploy Beta
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: {{ github.ref == 'ref/head/master' && github.event_name == 'push' }}
|
||||||
|
steps:
|
||||||
|
- name: Deploy
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
key: ${{ secrets.KEY }}
|
||||||
|
command: cd ${{ secrets.BETA_DIR }} && git stash && git pull && docker-compose up --build
|
||||||
Loading…
x
Reference in New Issue
Block a user