Skip to content

Commit 27c620c

Browse files
feat: Updated Prod Deploy pipline to make live manually (#717)
2 parents 19a8075 + 424441b commit 27c620c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Diff for: .github/workflows/deploy-prod.yaml

+16-16
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,19 @@ jobs:
7676
uses: ./.github/workflows/publish-prod-packages.yml
7777
secrets: inherit
7878

79-
deploy_with_ssh:
80-
runs-on: ubuntu-latest
81-
needs:
82-
- publish_npm
83-
if: |
84-
always() &&
85-
(needs.publish_npm.result == 'success')
86-
steps:
87-
- name: Set up SSH and Run Docker Compose Up
88-
uses: webfactory/[email protected]
89-
with:
90-
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_QA }}
91-
- name: Run Docker Compose Up
92-
run: |
93-
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USERNAME_QA }}@${{ secrets.SSH_HOST_QA }} \
94-
"cd ${{ secrets.SSH_PATH_QA }} && sudo docker compose up --pull always -d && sudo docker image prune -a -f"
79+
# deploy_with_ssh:
80+
# runs-on: ubuntu-latest
81+
# needs:
82+
# - publish_npm
83+
# if: |
84+
# always() &&
85+
# (needs.publish_npm.result == 'success')
86+
# steps:
87+
# - name: Set up SSH and Run Docker Compose Up
88+
# uses: webfactory/[email protected]
89+
# with:
90+
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_QA }}
91+
# - name: Run Docker Compose Up
92+
# run: |
93+
# ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USERNAME_QA }}@${{ secrets.SSH_HOST_QA }} \
94+
# "cd ${{ secrets.SSH_PATH_QA }} && sudo docker compose up --pull always -d && sudo docker image prune -a -f"

0 commit comments

Comments
 (0)