Skip to content

Commit

Permalink
Update and rename build_deploy.yml and cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
Carpenteri1 authored Mar 21, 2024
1 parent f03c66c commit 5bb5d9c
Showing 1 changed file with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build And Deploy gh-pages
name: Build And Execute Deploy To gh-pages

on:
push:
Expand Down Expand Up @@ -52,20 +52,3 @@ jobs:
with:
branch: gh-pages
folder: dist/portfolio

#- name: Deploy to gh-pages
#run: |
#git config --global user.name "${{ github.actor }}"
#git config --global user.email "${{ github.actor }}@users.noreply.github.com"
#git checkout -B gh-pages

# Check if there are changes, --porcelain command checks for changes in the entire repository,
# if [ -n "$(git status --porcelain)" ]; then
# Assuming your built files are in /root
#git add -A
#git commit -m "Update gh-pages" --allow-empty
#git push -f origin gh-pages
#else
#echo "No changes to commit."
#fi

0 comments on commit 5bb5d9c

Please sign in to comment.