Skip to content

Commit

Permalink
Update static-deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
timomeister authored Nov 6, 2024
1 parent ba00865 commit 15c778d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
# Create the deploy directory if it doesn't exist
mkdir -p "${OUTPUT_DIR}/${DEPLOY_PATH}"
# Copy all repository files to the appropriate subfolder
cp -r ./* "${OUTPUT_DIR}/${DEPLOY_PATH}/"
# Use rsync to copy all files except the 'public' directory itself
rsync -av --exclude="${OUTPUT_DIR}" . "${OUTPUT_DIR}/${DEPLOY_PATH}/"
# Initialize a temporary Git repo in the output directory
cd $OUTPUT_DIR
Expand Down

0 comments on commit 15c778d

Please sign in to comment.