fix: Added docker compose files to prod checkout
All checks were successful
Deploy to Staging / Build Images (push) Successful in 20s
Deploy to Staging / Deploy to Staging (push) Successful in 27s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 5s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
All checks were successful
Deploy to Staging / Build Images (push) Successful in 20s
Deploy to Staging / Deploy to Staging (push) Successful in 27s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 5s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
This commit is contained in:
@@ -84,18 +84,22 @@ jobs:
|
|||||||
BACKEND_IMAGE: ${{ needs.validate.outputs.backend_image }}
|
BACKEND_IMAGE: ${{ needs.validate.outputs.backend_image }}
|
||||||
FRONTEND_IMAGE: ${{ needs.validate.outputs.frontend_image }}
|
FRONTEND_IMAGE: ${{ needs.validate.outputs.frontend_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout scripts and config
|
- name: Checkout scripts, config, and compose files
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
sparse-checkout: |
|
sparse-checkout: |
|
||||||
scripts/
|
scripts/
|
||||||
config/
|
config/
|
||||||
sparse-checkout-cone-mode: true
|
docker-compose.yml
|
||||||
|
docker-compose.blue-green.yml
|
||||||
|
sparse-checkout-cone-mode: false
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Sync config to deploy path
|
- name: Sync config and compose files to deploy path
|
||||||
run: |
|
run: |
|
||||||
rsync -av --delete "$GITHUB_WORKSPACE/config/" "$DEPLOY_PATH/config/"
|
rsync -av --delete "$GITHUB_WORKSPACE/config/" "$DEPLOY_PATH/config/"
|
||||||
|
cp "$GITHUB_WORKSPACE/docker-compose.yml" "$DEPLOY_PATH/"
|
||||||
|
cp "$GITHUB_WORKSPACE/docker-compose.blue-green.yml" "$DEPLOY_PATH/"
|
||||||
|
|
||||||
- name: Login to registry
|
- name: Login to registry
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user