Skip to content

Commit 021d9d1

Browse files
Merge pull request #8 from devlopersabbir/sabbir
fixed pulling issues
2 parents 5795000 + 191e1c2 commit 021d9d1

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,16 @@ jobs:
3030
# Navigate to the executeme directory on the VPS.
3131
cd ~/workspace/executeme
3232
33+
# make sure we are in executeme directory
34+
ls -a
35+
3336
# Pull the latest code from the 'main' branch of the GitHub repository.
34-
git pull
37+
git pull origin main
38+
39+
# Check git status to make sure everything is up to date
40+
git status
3541
3642
# Execute your bash script.
37-
bash ./script.sh
43+
bash ./scripts.sh
3844
3945
echo "Deployment complete!"

0 commit comments

Comments
 (0)