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