-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/main' into privacy-policy
- Loading branch information
Showing
82 changed files
with
19,484 additions
and
5,069 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
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
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 |
---|---|---|
|
@@ -5,15 +5,15 @@ name: Add footer to PR | |
|
||
jobs: | ||
comment: | ||
name: Add preview footer to PR | ||
runs-on: ubuntu-latest | ||
|
||
name: Add preview footer to PR | ||
steps: | ||
- name: Add preview footer to PR | ||
uses: devindford/[email protected].2 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
body-template: | | ||
--- | ||
See preview on Cloudflare Pages: https://preview-${{ github.event.number }}.quiltmc-org.pages.dev | ||
body-update-action: 'suffix' | ||
- name: Add preview footer to PR | ||
uses: devindford/Append_PR_Comment@32dd2619cd96ac8da9907c416c992fe265233ca8 # v1.1.3 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
body-template: | | ||
--- | ||
See preview on Cloudflare Pages: https://preview-${{ github.event.number }}.quiltmc-org.pages.dev | ||
body-update-action: "suffix" |
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
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
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
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
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
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,15 @@ | ||
export async function onRequest(context) { | ||
const defaultBranch = await fetch(`https://api.github.com/repos/quiltmc/quilt-template-mod`, { | ||
headers: { | ||
"User-Agent": "QuiltMC Website API" | ||
} | ||
}) | ||
.then(res => res.json()) | ||
.then(data => data.default_branch); | ||
|
||
return fetch(`https://github.com/QuiltMC/quilt-template-mod/archive/refs/heads/${defaultBranch}.zip`, { | ||
headers: { | ||
"User-Agent": "QuiltMC Website API" | ||
} | ||
}) | ||
} |
Oops, something went wrong.
ca13473
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See preview on Cloudflare Pages: https://c3ff3b16.quiltmc-org.pages.dev