From 52026e4752e9f2a200073953f18f7416483e6690 Mon Sep 17 00:00:00 2001 From: Harish Mohan Raj Date: Thu, 19 Dec 2024 06:48:59 +0000 Subject: [PATCH] Fix workflow --- .github/workflows/deploy-website.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 5e4275abb3..3d20ca18c9 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -59,17 +59,11 @@ jobs: - name: Prepare website content run: | - # Print working directory - pwd - - # List contents of current directory - ls -la - # Create a temporary directory for filtered content mkdir -p temp_website # Copy files except .ipynb, node_modules, .quarto, and .gitignore - find website -type f -not -path "*/node_modules/*" -not -path "*/.quarto/*" -not -name "*.ipynb" -not -name ".gitignore" -exec cp --parents {} temp_website/ \; + find . -type f -not -path "*/node_modules/*" -not -path "*/.quarto/*" -not -name "*.ipynb" -not -name ".gitignore" -exec cp --parents {} temp_website/ \; gh-release: if: github.event_name != 'pull_request' @@ -111,17 +105,11 @@ jobs: - name: Prepare website content run: | - # Print working directory - pwd - - # List contents of current directory - ls -la - # Create a temporary directory for filtered content mkdir -p temp_website # Copy files except .ipynb, node_modules, .quarto, and .gitignore - find website -type f -not -path "*/node_modules/*" -not -path "*/.quarto/*" -not -name "*.ipynb" -not -name ".gitignore" -exec cp --parents {} temp_website/ \; + find . -type f -not -path "*/node_modules/*" -not -path "*/.quarto/*" -not -name "*.ipynb" -not -name ".gitignore" -exec cp --parents {} temp_website/ \; - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3