From 419f0ab4df9a95c1abd9678f3a8b55eaf9467609 Mon Sep 17 00:00:00 2001 From: Martin Schobben Date: Thu, 18 Jul 2024 13:22:08 +0200 Subject: [PATCH] update path --- .github/workflows/publish.yaml | 7 ++----- .gitignore | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0083834..cc5ce93 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,8 +13,6 @@ jobs: steps: - name: Checkout Quarto Book uses: actions/checkout@v4 - with: - path: main - name: Checkout Pythia Book uses: actions/checkout@v4 @@ -29,7 +27,6 @@ jobs: id: setup-python uses: quarto-dev/quarto-actions/publish@v2 with: - path: main target: gh-pages env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -50,8 +47,8 @@ jobs: - name: Commit Files if: github.ref == 'refs/heads/main' run: | - cp main/notebooks/*.ipynb eo-datascience-cookbook/notebooks/*.ipynb - cd eo-datascience-cookbook + cp ./notebooks/*.ipynb ./eo-datascience-cookbook/notebooks/*.ipynb + cd ./eo-datascience-cookbook git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add notebooks/*.ipynb diff --git a/.gitignore b/.gitignore index f316924..b11b2d1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ .env /.quarto/ /_book/ -/data/ -/**/*.ipynb \ No newline at end of file +/data/ \ No newline at end of file