From 194fed863fbb7a945c592d322333fdbe5a5c3c0a Mon Sep 17 00:00:00 2001 From: Martin Schobben Date: Fri, 2 Aug 2024 09:50:41 +0200 Subject: [PATCH] checkout dev --- .github/workflows/publish.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 1be6710..4353268 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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