Skip to content

Commit

Permalink
fix: Fix pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com>
  • Loading branch information
Souptik2001 committed Dec 1, 2024
1 parent 1074a19 commit 63c1f03
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .bin/deploy-hostinger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ git checkout $BUILT_BRANCH || git checkout -b $BUILT_BRANCH
# Create backup folder.
mkdir $HOME/hostinger-backup

# Backup the required three folders.
# Backup the required folders.
cp -r ./backend/plugins $HOME/hostinger-backup
cp -r ./backend/themes $HOME/hostinger-backup

Expand All @@ -28,6 +28,10 @@ cp -r $HOME/hostinger-backup/plugins .
# Copy Themes
cp -r $HOME/hostinger-backup/themes .

# Remove .gitignore files.
rm ./backend/plugins/souptik2001/.gitignore
rm ./backend/themes/souptik/.gitignore

# Check if we have changes
if [[ -z $(git status -s) ]]; then
# No changes
Expand Down

0 comments on commit 63c1f03

Please sign in to comment.