From 7d1cd6b519dbede5c75a300d806e5c3cb77c1abe Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 23 Jun 2024 20:37:58 +0200 Subject: [PATCH] ci: tmp dir --- .github/workflows/deploy.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index d49071b..3221eb7 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -44,6 +44,7 @@ jobs: commit_author: "github-actions[bot] " sync-docs: + needs: build runs-on: ubuntu-latest steps: @@ -54,9 +55,9 @@ jobs: - name: Copy docs and README.md run: | - mkdir -p temp-docs + mkdir -p /tmp/temp-docs cp -r doc/ temp-docs/ - cp README.md temp-docs/ + cp README.md /tmp/temp-docs/ - name: Checkout main branch uses: actions/checkout@v4 @@ -65,8 +66,8 @@ jobs: - name: Copy to main branch run: | - cp -r temp-docs/doc/ . - cp temp-docs/README.md . + cp -r /tmp/temp-docs/doc/ . + cp /tmp/temp-docs/README.md . - name: Commit and push changes run: |