From 7babb379fbf46c5f782c729370bc2f897b9a2006 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Thu, 26 Jan 2023 10:39:07 +0100 Subject: [PATCH] Adjust preview workflow --- .github/workflows/preview.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 8345b309ab2c2..1a9db28e0552a 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -17,21 +17,20 @@ jobs: workflow: ${{ github.event.workflow_run.workflow_id }} workflow_conclusion: success name: documentation - path: documentation + path: documentation-temp - name: Store PR id as variable id: pr run: | - echo "id=$(> $GITHUB_OUTPUT - rm -f pr-id.txt + echo "id=$(> $GITHUB_OUTPUT - uses: actions/checkout@v3 with: repository: quarkusio/quarkusio.github.io - path: quarkusio - name: Sync documentation shell: bash run: | - chmod 755 ./documentation/docs/sync-web-site.sh - ./documentation/docs/sync-web-site.sh main ../../quarkusio/ + chmod 755 ./documentation-temp/docs/sync-web-site.sh + ./documentation-temp/docs/sync-web-site.sh main ../../ + rm -rf documentation-temp - name: Set up ruby uses: ruby/setup-ruby@v1 with: @@ -58,7 +57,7 @@ jobs: ### If the jekyll website source is not in root, specify the directory. (in this case, sample_site) ### By default, this is not required as the action searches for a _config.yml automatically. # - gem_src: quarkusio + #gem_src: quarkusio ### By default, this is not required as the action searches for a _config.yml automatically. ### However, if there are multiple Gemfiles, the action may not be able to determine which to use. ### In that case, specify the directory. (in this case, sample_site)