From 5e4bae132a9d575c660b7b64e58d8a7a392082ab Mon Sep 17 00:00:00 2001 From: Harish Mohan Raj Date: Thu, 19 Dec 2024 10:01:54 +0000 Subject: [PATCH 1/2] WIP --- .github/workflows/deploy-website.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 1d9a7524d8..6ce2974336 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -65,6 +65,12 @@ jobs: # Copy files except .ipynb, node_modules, .quarto, .gitignore, and temp_website find . -type f -not -path "*/node_modules/*" -not -path "*/.quarto/*" -not -path "./temp_website/*" -not -name "*.ipynb" -not -name ".gitignore" -exec cp --parents {} temp_website/ \; + # Check the contents of the temp_website directory + ls -la temp_website + + # check current working directory + pwd + gh-release: if: github.event_name != 'pull_request' runs-on: ubuntu-latest From 716694bdf532d37068f1cdd12200535f90cc233f Mon Sep 17 00:00:00 2001 From: Harish Mohan Raj Date: Thu, 19 Dec 2024 10:07:53 +0000 Subject: [PATCH 2/2] Update publish directory path --- .github/workflows/deploy-website.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 6ce2974336..b96297a214 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -65,12 +65,6 @@ jobs: # Copy files except .ipynb, node_modules, .quarto, .gitignore, and temp_website find . -type f -not -path "*/node_modules/*" -not -path "*/.quarto/*" -not -path "./temp_website/*" -not -name "*.ipynb" -not -name ".gitignore" -exec cp --parents {} temp_website/ \; - # Check the contents of the temp_website directory - ls -la temp_website - - # check current working directory - pwd - gh-release: if: github.event_name != 'pull_request' runs-on: ubuntu-latest @@ -122,4 +116,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} # Build output to publish to the `gh-pages` branch: - publish_dir: temp_website + publish_dir: ./temp_website