Skip to content

Commit

Permalink
fix(action): (probably) fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
powercasgamer committed Jun 15, 2024
1 parent d90f3b5 commit 84f319e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 28 deletions.
30 changes: 4 additions & 26 deletions .github/workflows/deploy-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,12 @@ jobs:
deployments: write
pull-requests: write
steps:
- name: "add comment"
if: github.event_name != 'push'
uses: mshick/add-pr-comment@v2
with:
message-id: "cloudflare-pages-preview"
message: |
## Deploying with [<img alt="Cloudflare Pages" width="16" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png">](https://pages.dev) Cloudflare Pages
| Latest commit: | ${{ github.sha }} |
|---------------------------------|------------------------|
| Status: | 🔨 Building... |
---
- name: "checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: "setup pnpm"
uses: "pnpm/action-setup@v4"
- name: "setup node"
Expand All @@ -47,19 +37,7 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: "papermc-docs"
projectName: "papermc-staging-docs-pr-directupload-test"
deploymentName: "Preview"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
directory: "build"
- name: "add comment"
uses: "mshick/add-pr-comment@v2"
with:
message-id: "cloudflare-pages-preview"
message: |
## Deploying with [<img alt="Cloudflare Pages" width="16" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png">](https://pages.dev) Cloudflare Pages
| Latest commit: | ${{ github.sha }} |
|---------------------------------|------------------------|
| Status: | ✅ Deploy successful! |
| Preview URL: | [${{ steps.cloudflare-publish.outputs.url }}](${{ steps.cloudflare-publish.outputs.url }}) |
[View logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: "papermc-docs"
projectName: "papermc-staging-docs-pr-directupload-test"
deploymentName: "Production"
directory: "build"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion config-specs/paper/paper-global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ unsupported-settings:
description: >-
Whether the server should skip damage ticks when entities are blocking damage
via a shield. While Vanilla does process a damage tick, this behavior was a long
standing bug in paper. Enabling this option means that the damage tick will be
standing bug in Paper. Enabling this option means that the damage tick will be
skipped, which may result in rapid damage on shields due to the missing invulnerability.
perform-username-validation:
default: "true"
Expand Down

0 comments on commit 84f319e

Please sign in to comment.