Skip to content

Commit

Permalink
checkout dev
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchobben committed Aug 2, 2024
1 parent 71ef6e6 commit 194fed8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,29 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Quarto Book
if: github.ref == 'refs/heads/main'
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Checkout Pythia Book
if: github.ref == 'refs/heads/main'
uses: actions/checkout@v4
with:
repository: tuw-geo/eo-datascience-cookbook
path: pythia
fetch-depth: 0
token: ${{ secrets.BOT_TOKEN }}
persist-credentials: true

- name: Checkout Quarto Book Branch dev
if: github.ref == 'refs/heads/dev'
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Checkout Pythia Book Branch dev
if: github.ref == 'refs/heads/def'
uses: actions/checkout@v4
with:
repository: tuw-geo/eo-datascience-cookbook
Expand Down

0 comments on commit 194fed8

Please sign in to comment.