Skip to content

Commit

Permalink
🎨 rename name of script and remove unnecessary gh-pages deployment steps
Browse files Browse the repository at this point in the history
  • Loading branch information
slooi committed Sep 8, 2024
1 parent 690917b commit ccddca3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Vite App to GitHub Pages
name: Deploy Static Website to GitHub Pages

on:
push:
Expand Down Expand Up @@ -31,8 +31,5 @@ jobs:
git config --global user.email '[email protected]'
git checkout --orphan gh-pages
git --work-tree dist add --all
git --work-tree dist commit -m "Deploy to GitHub Pages"
git commit -m "Deploy to GitHub Pages"
git push origin gh-pages --force
rm -rf dist
git checkout -f master
git branch -D gh-pages

0 comments on commit ccddca3

Please sign in to comment.