From 1a85f7a121121dbba66c45a238fa8212c68d351b Mon Sep 17 00:00:00 2001 From: powercas_gamer Date: Fri, 14 Jun 2024 16:09:26 +0000 Subject: [PATCH] fix(actions): move to different action --- .github/workflows/deploy-pr.yaml | 3 ++- .github/workflows/deploy.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-pr.yaml b/.github/workflows/deploy-pr.yaml index e84903ad..3cebf68a 100644 --- a/.github/workflows/deploy-pr.yaml +++ b/.github/workflows/deploy-pr.yaml @@ -43,11 +43,12 @@ jobs: cp _redirects build/ - name: "publish (push)" id: "cloudflare-publish" - uses: "cloudflare/pages-action@v1" + uses: "AdrianGonz97/refined-cf-pages-action@v1" with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} projectName: "papermc-docs" + deploymentName: "Preview" directory: "build" - name: "add comment" uses: "mshick/add-pr-comment@v2" diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index cdb90f96..1b44ef94 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -34,10 +34,11 @@ jobs: cp _redirects build/ - name: "publish (push)" id: "cloudflare-publish" - uses: "cloudflare/pages-action@v1" + uses: "AdrianGonz97/refined-cf-pages-action@v1" with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} projectName: "papermc-docs" + deploymentName: "Production" directory: "build" gitHubToken: ${{ secrets.GITHUB_TOKEN }}