-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* migrate away from Vercel * stupid lock file
- Loading branch information
1 parent
9e95fae
commit b5ae2e3
Showing
4 changed files
with
3,704 additions
and
3,297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: "Deploy to Cloudflare Pages (Preview)" | ||
|
||
on: [pull_request_target] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
contents: read | ||
deployments: write | ||
pull-requests: write | ||
steps: | ||
- 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" | ||
uses: "actions/setup-node@v4" | ||
with: | ||
cache: "pnpm" | ||
node-version: 20 | ||
- name: "install dependencies" | ||
run: "pnpm install" | ||
- name: "build" | ||
run: "pnpm run build" | ||
- name: "publish (push)" | ||
id: "cloudflare-publish" | ||
uses: "AdrianGonz97/refined-cf-pages-action@v1" | ||
with: | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
projectName: "papermc-website" | ||
deploymentName: "Preview" | ||
gitHubToken: ${{ secrets.GITHUB_TOKEN }} | ||
directory: "build" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,9 +28,6 @@ yarn-error.log* | |
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,5 +41,6 @@ | |
"windicss": "3.5.6", | ||
"windicss-webpack-plugin": "1.8.0" | ||
}, | ||
"sideEffects": false | ||
"sideEffects": false, | ||
"packageManager": "[email protected]+sha512.98a80fd11c2e7096747762304106432b3ddc67dcf54b5a8c01c93f68a2cd5e05e6821849522a06fb76284d41a2660d5e334f2ee3bbf29183bf2e739b1dafa771" | ||
} |
Oops, something went wrong.