mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-24 10:51:27 +00:00
Merge pull request #24 from nbtca/feature-branch-based-deployment
Feature: Branch based CI
This commit is contained in:
commit
c0b19f4ed4
1 changed files with 1 additions and 0 deletions
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
|
@ -50,6 +50,7 @@ jobs:
|
|||
host: ${{ secrets.REMOTE_HOST }}
|
||||
username: ${{ secrets.REMOTE_USER }}
|
||||
key: ${{ secrets.ACCESS_TOKEN }}
|
||||
envs: BRANCH_NAME
|
||||
script: |
|
||||
cd ${{ github.ref == 'refs/heads/main' && secrets.REMOTE_PATH || secrets.REMOTE_PATH_DEVELOPMENT }}
|
||||
docker compose up --force-recreate -d
|
||||
|
|
|
|||
Loading…
Reference in a new issue