-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
265 additions
and
49 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,40 @@ | ||
on: | ||
push: | ||
|
||
jobs: | ||
deploy: | ||
name: "Deploy lastest (v4000) Docs on Cloudflare Workers" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v4 | ||
- name: Deploy app | ||
uses: cloudflare/wrangler-action@v3 | ||
with: | ||
packageManager: pnpm | ||
apiToken: ${{ secrets.CLOUDFLARE_WORKERS_KEY }} | ||
command: pages deploy dist --project-name=kaplay4000 | ||
preCommands: "pnpm i && pnpm build" | ||
|
||
deploylegacy: | ||
name: "Deploy legacy (v3001) Docs on Cloudflare Workers" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v4 | ||
- name: Checkout submodule to v3001 | ||
run: | | ||
cd kaplay | ||
git checkout v3001 | ||
cd .. | ||
- name: Deploy app | ||
uses: cloudflare/wrangler-action@v3 | ||
with: | ||
packageManager: pnpm | ||
apiToken: ${{ secrets.CLOUDFLARE_WORKERS_KEY }} | ||
command: pages deploy dist --project-name=kaplay3001 | ||
preCommands: "pnpm i && pnpm 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 |
---|---|---|
|
@@ -26,4 +26,5 @@ pnpm-debug.log* | |
doc.json | ||
|
||
kaplay/ | ||
.wrangler/ | ||
.wrangler/ | ||
public/pagefind |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,19 @@ | ||
<dialog id="search-modal" class="modal"> | ||
<div class="modal-box w-fit min-h-96 h-fit"> | ||
<div id="search"></div> | ||
</div> | ||
<form method="dialog" class="modal-backdrop"> | ||
<button>close</button> | ||
</form> | ||
</dialog> | ||
|
||
<script is:inline> | ||
document.addEventListener("astro:page-load", () => { | ||
// @ts-ignore | ||
new PagefindUI({ | ||
element: "#search", | ||
showSubResults: true, | ||
showImages: false, | ||
}); | ||
}); | ||
</script> |
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
Oops, something went wrong.