From 7eb075de2fab0088431bd8decbca3c5e05147361 Mon Sep 17 00:00:00 2001 From: Gregor Noczinski Date: Fri, 11 Oct 2024 12:24:27 +0200 Subject: [PATCH] Optimize caching and rerun inspections --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8460ca5..96d5602 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,7 +139,16 @@ jobs: mkdocs --color build -c - name: Deploy + id: deploy + if: contains(github.event.pull_request.labels.*.name, 'test_publish') uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} command: pages deploy --commit-dirty=true --project-name=bifroest-engity-org var/doc + + - name: print deployment-url + if: contains(github.event.pull_request.labels.*.name, 'test_publish') + env: + DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }} + run: | + echo "Documentation is available at ${DEPLOYMENT_URL}" >> "$GITHUB_STEP_SUMMARY"