Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
update path
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchobben committed Jul 18, 2024
1 parent 0aadef4 commit ce2388c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -50,12 +47,10 @@ jobs:
- name: Commit Files
if: github.ref == 'refs/heads/main'
run: |
cp main/notebooks/*.ipynb eo-datascience-cookbook/notebooks/*.ipynb
cd eo-datascience-cookbook
NB_PATH="$(pwd)/notebooks"
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add notebooks/*.ipynb
git commit -m "Quarto output"
git commit ${NB_PATH[*]/.ipynb} -m "Quarto output"
- name: Push Commit
if: github.ref == 'refs/heads/main'
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
.env
/.quarto/
/_book/
/data/
/**/*.ipynb
/data/

0 comments on commit ce2388c

Please sign in to comment.