Rename stack from coop to rose-ash in CI deployment
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 44s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 44s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: registry.rose-ash.com:5000
|
REGISTRY: registry.rose-ash.com:5000
|
||||||
COOP_DIR: /root/rose-ash
|
APP_DIR: /root/rose-ash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
||||||
run: |
|
run: |
|
||||||
ssh "root@$DEPLOY_HOST" "
|
ssh "root@$DEPLOY_HOST" "
|
||||||
cd ${{ env.COOP_DIR }}
|
cd ${{ env.APP_DIR }}
|
||||||
|
|
||||||
# Save current HEAD before updating
|
# Save current HEAD before updating
|
||||||
OLD_HEAD=\$(git rev-parse HEAD 2>/dev/null || echo none)
|
OLD_HEAD=\$(git rev-parse HEAD 2>/dev/null || echo none)
|
||||||
@@ -76,8 +76,8 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
source .env
|
source .env
|
||||||
docker stack deploy -c docker-compose.yml coop
|
docker stack deploy -c docker-compose.yml rose-ash
|
||||||
echo 'Waiting for services to update...'
|
echo 'Waiting for services to update...'
|
||||||
sleep 10
|
sleep 10
|
||||||
docker stack services coop
|
docker stack services rose-ash
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user