-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4730 from pagefaultgames/beta
1.1.0 - The Halloween Update
- Loading branch information
Showing
2,308 changed files
with
77,086 additions
and
182,620 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
VITE_BYPASS_LOGIN=0 | ||
VITE_BYPASS_TUTORIAL=0 | ||
VITE_SERVER_URL=https://api.beta.pokerogue.net | ||
VITE_SERVER_URL=https://apibeta.pokerogue.net | ||
VITE_DISCORD_CLIENT_ID=1248062921129459756 | ||
VITE_GOOGLE_CLIENT_ID=955345393540-2k6lfftf0fdnb0krqmpthjnqavfvvf73.apps.googleusercontent.com | ||
VITE_I18N_DEBUG=1 | ||
VITE_I18N_DEBUG=0 |
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
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1,15 +1,21 @@ | ||
name: Deploy | ||
name: Deploy Main | ||
|
||
on: | ||
push: {} | ||
pull_request: {} | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
if: github.repository == 'pagefaultgames/pokerogue' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
|
@@ -20,20 +26,20 @@ jobs: | |
env: | ||
NODE_ENV: production | ||
- name: Set up SSH | ||
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch | ||
if: github.event_name == 'push' && github.ref_name == 'main' | ||
run: | | ||
mkdir ~/.ssh | ||
echo "${{ secrets.SSH_PUBLIC_KEY }}" > ~/.ssh/id_ed25519.pub | ||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/* | ||
ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts | ||
- 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 == 'main' | ||
run: | | ||
rsync --del --no-times --checksum -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }} | ||
ssh -t ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "~/prmanifest --inpath ${{ secrets.DESTINATION_DIR }} --outpath ${{ secrets.DESTINATION_DIR }}/manifest.json" | ||
- name: Purge Cloudflare Cache | ||
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch | ||
if: github.event_name == 'push' && github.ref_name == 'main' | ||
id: purge-cache | ||
uses: NathanVaughn/[email protected] | ||
with: | ||
|
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,3 @@ | ||
[submodule "public/locales"] | ||
path = public/locales | ||
url = https://github.com/pagefaultgames/pokerogue-locales |
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,14 @@ | ||
import type { SetupServerApi } from "msw/node"; | ||
|
||
export {}; | ||
|
||
declare global { | ||
/** | ||
* Only used in testing. | ||
* Can technically be undefined/null but for ease of use we are going to assume it is always defined. | ||
* Used to load i18n files exclusively. | ||
* | ||
* To set up your own server in a test see `game_data.test.ts` | ||
*/ | ||
var i18nServer: SetupServerApi; | ||
} |
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.