Skip to content

Commit 45be7f1

Browse files
committed
Add git pull command to CI workflow
1 parent b8fb0b0 commit 45be7f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ jobs:
5050
run: |
5151
echo "::add-mask::$TF_VAR_API3TRACKER_ENDPOINT"
5252
echo "::add-mask::$TF_VAR_API3TRACKER_ARCHIVE_ENDPOINT"
53-
export REMOTE_CMD="cd $SSH_REMOTE_PATH && terraform init && terraform apply -auto-approve && docker system prune -af"
53+
export REMOTE_CMD="cd $SSH_REMOTE_PATH && git pull && terraform init && terraform apply -auto-approve && docker system prune -af"
5454
ssh -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null $SSH_HOST bash -c '"'$REMOTE_CMD'"'

0 commit comments

Comments
 (0)