Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance fixes on reconnect. #196

Merged
merged 4 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 40 additions & 39 deletions .github/workflows/pr_to_master_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
# Automatically deploy the latest changes of a branch to the FTP server.
on:
# Triggers the workflow on PRs in "master"
pull_request:
branches: [ "master" ]

# Allows this workflow to be run manually from the Actions tab.
workflow_dispatch:

name: 🚀 PR Auto-Deploy
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2

- uses: actions/setup-node@master
with:
node-version: 20.x

- name: 📥 Install project dependencies
run: npm install

- name: ⚒️ Build the project
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: npm run build

- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ftp.vircadia.com
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
local-dir: dist/spa/
server-dir: /staging/${{ github.head_ref }}/
dry-run: false
# Automatically deploy the latest changes of a branch to the FTP server.
on:
# Triggers the workflow on PRs in "master"
pull_request:
branches: [ "master" ]

# Allows this workflow to be run manually from the Actions tab.
workflow_dispatch:

name: 🚀 PR Auto-Deploy
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2

- uses: actions/setup-node@master
with:
node-version: 20.x

- name: 📥 Install project dependencies
run: npm install

- name: ⚒️ Build the project
env:
NODE_OPTIONS: "--max_old_space_size=4096"
VRCA_HOSTED_URL: "https://app.vircadia.com/staging/${{ github.head_ref }}/"
run: npm run build

- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ftp.vircadia.com
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
local-dir: dist/spa/
server-dir: /staging/${{ github.head_ref }}/
dry-run: false
Loading