Skip to content

Commit

Permalink
fix(actions): move to different action
Browse files Browse the repository at this point in the history
  • Loading branch information
powercasgamer committed Jun 14, 2024
1 parent 453df07 commit 1a85f7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 1a85f7a

Please sign in to comment.