Skip to content

Commit 16108e2

Browse files
committed
fix: do git checkout before pull for demo push action
1 parent 7eaa0c2 commit 16108e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
port: ${{ secrets.SSH_PORT }}
2626
script: |
2727
cd /srv/edt-offline
28+
git checkout .
2829
git pull origin main
2930
docker compose -f docker/demo/docker-compose.yml down
3031
docker compose -f docker/demo/docker-compose.yml up -d --build

0 commit comments

Comments
 (0)