Merge branch 'main' into main
|
|
@ -28,11 +28,6 @@ jobs:
|
||||||
ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
|
ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
|
||||||
- name: Deploy build on server
|
- name: Deploy build on server
|
||||||
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
|
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
|
||||||
run: rsync -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }}
|
run: |
|
||||||
- name: Purge Cloudflare Cache
|
rsync --del --no-times --checksum -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }}
|
||||||
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
|
ssh -t ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "~/prmanifest --inpath ${{ secrets.DESTINATION_DIR }} --outpath ${{ secrets.DESTINATION_DIR }}/manifest.json"
|
||||||
id: purge-cache
|
|
||||||
uses: NathanVaughn/actions-cloudflare-purge@v3.1.0
|
|
||||||
with:
|
|
||||||
cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
||||||
cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }}
|
|
||||||
|
|
|
||||||
20
index.html
|
|
@ -9,27 +9,27 @@
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:description" content="A Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, and reaching Pokémon stats you never thought possible." />
|
<meta property="og:description" content="A Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, and reaching Pokémon stats you never thought possible." />
|
||||||
<meta property="og:image" content="https://pokerogue.net/logo512.png" />
|
<meta property="og:image" content="https://pokerogue.net/logo512.png" />
|
||||||
<link rel="apple-touch-icon" href="/logo512.png" />
|
<link rel="apple-touch-icon" href="./logo512.png" />
|
||||||
<link rel="shortcut icon" type="image/png" href="/logo512.png" />
|
<link rel="shortcut icon" type="image/png" href="./logo512.png" />
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'emerald';
|
font-family: 'emerald';
|
||||||
src: url('/fonts/pokemon-emerald-pro.ttf') format('truetype');
|
src: url('./fonts/pokemon-emerald-pro.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'pkmnems';
|
font-family: 'pkmnems';
|
||||||
src: url('/fonts/pkmnems.ttf') format('truetype');
|
src: url('./fonts/pkmnems.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<link rel="stylesheet" type="text/css" href="index.css" />
|
<link rel="stylesheet" type="text/css" href="./index.css" />
|
||||||
<link rel="manifest" href="/manifest.webmanifest">
|
<link rel="manifest" href="./manifest.webmanifest">
|
||||||
<script>
|
<script>
|
||||||
if ("serviceWorker" in navigator) {
|
if ("serviceWorker" in navigator) {
|
||||||
window.addEventListener("load", function () {
|
window.addEventListener("load", function () {
|
||||||
navigator.serviceWorker.register("/service-worker.js").then(
|
navigator.serviceWorker.register("./service-worker.js").then(
|
||||||
function (registration) {
|
function (registration) {
|
||||||
console.log("ServiceWorker registration successful");
|
console.log("ServiceWorker registration successful");
|
||||||
},
|
},
|
||||||
|
|
@ -94,9 +94,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="module" src="src/main.ts"></script>
|
<script type="module" src="./src/main.ts"></script>
|
||||||
<script src="src/touch-controls.js" type="module"></script>
|
<script src="./src/touch-controls.js" type="module"></script>
|
||||||
<script src="src/debug.js" type="module"></script>
|
<script src="./src/debug.js" type="module"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -1069,8 +1069,6 @@
|
||||||
"971",
|
"971",
|
||||||
"972",
|
"972",
|
||||||
"972",
|
"972",
|
||||||
"973",
|
|
||||||
"973",
|
|
||||||
"974",
|
"974",
|
||||||
"974",
|
"974",
|
||||||
"975",
|
"975",
|
||||||
|
|
@ -2203,8 +2201,6 @@
|
||||||
"971b",
|
"971b",
|
||||||
"972b",
|
"972b",
|
||||||
"972b",
|
"972b",
|
||||||
"973b",
|
|
||||||
"973b",
|
|
||||||
"974b",
|
"974b",
|
||||||
"974b",
|
"974b",
|
||||||
"975b",
|
"975b",
|
||||||
|
|
@ -3335,8 +3331,6 @@
|
||||||
"971sb",
|
"971sb",
|
||||||
"972sb",
|
"972sb",
|
||||||
"972sb",
|
"972sb",
|
||||||
"973sb",
|
|
||||||
"973sb",
|
|
||||||
"974sb",
|
"974sb",
|
||||||
"974sb",
|
"974sb",
|
||||||
"975sb",
|
"975sb",
|
||||||
|
|
@ -4474,8 +4468,6 @@
|
||||||
"971s",
|
"971s",
|
||||||
"972s",
|
"972s",
|
||||||
"972s",
|
"972s",
|
||||||
"973s",
|
|
||||||
"973s",
|
|
||||||
"974s",
|
"974s",
|
||||||
"974s",
|
"974s",
|
||||||
"975s",
|
"975s",
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 771 B |
|
After Width: | Height: | Size: 577 B |
|
After Width: | Height: | Size: 698 B |
|
After Width: | Height: | Size: 473 B |
|
After Width: | Height: | Size: 654 B |
|
After Width: | Height: | Size: 785 B |
|
After Width: | Height: | Size: 930 B |
|
After Width: | Height: | Size: 837 B |
|
After Width: | Height: | Size: 563 B |
|
After Width: | Height: | Size: 589 B |
|
After Width: | Height: | Size: 360 B |
|
After Width: | Height: | Size: 360 B |
|
After Width: | Height: | Size: 436 B |
|
After Width: | Height: | Size: 436 B |
|
After Width: | Height: | Size: 492 B |
|
After Width: | Height: | Size: 492 B |
|
After Width: | Height: | Size: 471 B |
|
After Width: | Height: | Size: 471 B |
|
After Width: | Height: | Size: 467 B |
|
After Width: | Height: | Size: 785 B |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 550 B |
|
After Width: | Height: | Size: 629 B |
|
After Width: | Height: | Size: 591 B |
|
After Width: | Height: | Size: 550 B |
|
After Width: | Height: | Size: 546 B |
|
After Width: | Height: | Size: 775 B |
|
After Width: | Height: | Size: 793 B |
|
After Width: | Height: | Size: 855 B |
|
After Width: | Height: | Size: 916 B |
|
After Width: | Height: | Size: 858 B |
|
After Width: | Height: | Size: 888 B |
|
After Width: | Height: | Size: 529 B |
|
After Width: | Height: | Size: 430 B |
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 514 B |
|
After Width: | Height: | Size: 708 B |
|
After Width: | Height: | Size: 709 B |
|
After Width: | Height: | Size: 376 B |
|
After Width: | Height: | Size: 371 B |
|
After Width: | Height: | Size: 463 B |
|
After Width: | Height: | Size: 457 B |
|
After Width: | Height: | Size: 414 B |
|
After Width: | Height: | Size: 409 B |
|
After Width: | Height: | Size: 478 B |
|
After Width: | Height: | Size: 536 B |
|
After Width: | Height: | Size: 537 B |
|
After Width: | Height: | Size: 659 B |
|
After Width: | Height: | Size: 653 B |
|
After Width: | Height: | Size: 661 B |
|
After Width: | Height: | Size: 501 B |
|
After Width: | Height: | Size: 506 B |
|
After Width: | Height: | Size: 498 B |
|
After Width: | Height: | Size: 523 B |
|
After Width: | Height: | Size: 430 B |
|
After Width: | Height: | Size: 950 B |
|
After Width: | Height: | Size: 924 B |
|
After Width: | Height: | Size: 779 B |
|
After Width: | Height: | Size: 799 B |
|
After Width: | Height: | Size: 720 B |
|
After Width: | Height: | Size: 722 B |
|
After Width: | Height: | Size: 520 B |
|
After Width: | Height: | Size: 513 B |
|
After Width: | Height: | Size: 549 B |
|
After Width: | Height: | Size: 655 B |
|
After Width: | Height: | Size: 650 B |
|
After Width: | Height: | Size: 639 B |
|
After Width: | Height: | Size: 653 B |
|
After Width: | Height: | Size: 829 B |
|
After Width: | Height: | Size: 733 B |
|
After Width: | Height: | Size: 708 B |
|
After Width: | Height: | Size: 722 B |
|
After Width: | Height: | Size: 492 B |
|
After Width: | Height: | Size: 478 B |
|
After Width: | Height: | Size: 522 B |
|
After Width: | Height: | Size: 506 B |
|
After Width: | Height: | Size: 735 B |
|
After Width: | Height: | Size: 735 B |
|
After Width: | Height: | Size: 602 B |
|
After Width: | Height: | Size: 608 B |
|
After Width: | Height: | Size: 676 B |
|
After Width: | Height: | Size: 664 B |
|
After Width: | Height: | Size: 540 B |
|
After Width: | Height: | Size: 524 B |
|
After Width: | Height: | Size: 612 B |
|
After Width: | Height: | Size: 622 B |
|
After Width: | Height: | Size: 866 B |