Skip to content

Commit

Permalink
Merge pull request #35 from joberstein/#34
Browse files Browse the repository at this point in the history
fix(ci): Re-order storing dist files in the deploy script.
  • Loading branch information
joberstein authored Oct 27, 2023
2 parents 63e114c + df670ef commit f21d731
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ fi
echo "Clearing all changes..."
git checkout .

echo "Saving dist files..."
git add -f dist/ \
&& git stash push dist/

echo "Checking out '$TARGET_BRANCH'..."
git checkout "$TARGET_BRANCH" \
|| exit 1

echo "Saving dist files..."
git add dist/ \
&& git stash push dist/

echo "Removing all extra files..."
git rm -rf . \
&& rm -rf node_modules
Expand Down

0 comments on commit f21d731

Please sign in to comment.