Skip to content

Commit

Permalink
Merge pull request #604 from hngprojects/Rob-in-son-no-docker
Browse files Browse the repository at this point in the history
Update dev.yml
  • Loading branch information
Lanky-23 authored Aug 15, 2024
2 parents 7968633 + 75e778c commit 16761cf
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ jobs:
with:
node-version: '20'

# - name: Remove old actions remote URL
# continue-on-error: true
# run: |
# git remote rm action
- name: Remove old actions remote URL
continue-on-error: true
run: |
git remote rm action
# - name: Stash or remove local changes
# run: |
# if git diff --quiet; then
# echo "No local changes to stash."
# else
# echo "Stashing local changes..."
# git stash --include-untracked || echo "Failed to stash changes. Attempting to reset..."
# git reset --hard || exit 1
# fi
- name: Stash or remove local changes
run: |
if git diff --quiet; then
echo "No local changes to stash."
else
echo "Stashing local changes..."
git stash --include-untracked || echo "Failed to stash changes. Attempting to reset..."
git reset --hard || exit 1
fi
- name: Pull from GitHub
id: pull
Expand Down

0 comments on commit 16761cf

Please sign in to comment.