fix: publish cloudflare pages native action

This commit is contained in:
Bart van der Braak 2023-07-31 23:52:54 +02:00
parent 8f7f09b826
commit 3ce3198b62

View file

@ -59,9 +59,10 @@ jobs:
--build-static --build-static
- name: Upload report to Cloudflare pages - name: Upload report to Cloudflare pages
run: | uses: cloudflare/wrangler-action@2.0.0
wrangler init with:
wrangler pages publish .unlighthouse --site pr${{ github.event.pull_request.number }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages publish .unlighthouse --branch=pull-${{ github.event.pull_request.number }}
- name: Create result content - name: Create result content
id: create_result_content id: create_result_content