Skip to content

Commit

Permalink
test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianBurke committed Nov 7, 2024
1 parent d87632d commit 514e194
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/demo-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ jobs:
- name: Build Demo Files (WET-BOEW)
run: grunt dist

# Step 4: Copy built files to the root of the gh-pages directory
# Step 4: Copy built files directly to the root of the gh-pages directory
- name: Copy Built Files to gh-pages Root
run: |
# Ensure the gh-pages directory exists
mkdir -p ${{ github.workspace }}/gh-pages
# Copy the contents directly to the root of gh-pages
# Copy the contents of ~sites and dist directly to the root of gh-pages
if [ -d "./~sites" ]; then
rsync -av --delete ./~sites/ ${{ github.workspace }}/gh-pages/
find ./~sites -mindepth 1 -exec mv -t ${{ github.workspace }}/gh-pages {} +
fi
if [ -d "./dist" ]; then
rsync -av --delete ./dist/ ${{ github.workspace }}/gh-pages/
find ./dist -mindepth 1 -exec mv -t ${{ github.workspace }}/gh-pages {} +
fi
# Step 5: Initialize or Update gh-pages Branch
- name: Initialize or Update gh-pages Branch
run: |
Expand Down

0 comments on commit 514e194

Please sign in to comment.