From 57e9dcdc0c88a81f8dd70393fbbc38d5ec5d67ce Mon Sep 17 00:00:00 2001 From: mattbrown88 Date: Mon, 22 Jul 2024 08:44:07 -0600 Subject: [PATCH] updated deploy --- .github/workflows/deploy.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index b43b66b..b1ee731 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -19,12 +19,12 @@ jobs: - name: Build and Deploy run: | # Add your build steps here if any (e.g., npm install && npm run build) - # For static sites without build steps, simply copy files to the output directory - mkdir -p output - cp -r * output/ + # For static sites without build steps, copy files to a temporary directory + mkdir -p temp_output + cp -r $(ls -A | grep -v '^temp_output$') temp_output/ - name: Deploy to GitHub Pages uses: actions/deploy-pages@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./output # Adjust this to your output directory + publish_dir: ./temp_output # Adjust this to your output directory