Skip to content

Commit 7f61ee5

Browse files
committed
fix: correct git commands to update cloud
1 parent a53acf9 commit 7f61ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cloud-push-main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
port: ${{ secrets.SSH_CLOUD_PORT }}
2424
script: |
2525
cd ${{ secrets.CLOUD_FOLDER_PATH }}
26-
git checkout .
27-
git pull origin main
26+
git fetch
27+
git checkout origin/main
2828
docker compose -f docker/cloud/docker-compose.yml down
2929
docker compose -f docker/cloud/docker-compose.yml up -d --build

0 commit comments

Comments
 (0)