Skip to content

Merge pull request #187 from vircadia/fix/base-url #8

Merge pull request #187 from vircadia/fix/base-url

Merge pull request #187 from vircadia/fix/base-url #8

Workflow file for this run

# Automatically deploy the latest changes to the FTP server.
on:
# Triggers the workflow on push events to the specified branch.
push:
branches: [ "demo/UA92" ]
# Allows this workflow to be run manually from the Actions tab.
workflow_dispatch:
name: 🚀 Auto-Deploy (UA92)
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
env:
VRCA_DEFAULT_DOMAIN_URL: ${{ secrets.ua92verse_default_domain }}
VRCA_COLORS_PRIMARY: "#eb0045"
VRCA_COLORS_SECONDARY: "#080400"
VRCA_COLORS_ACCENT: "#e9511d"
VRCA_BRAND_NAME: "UA92"
VRCA_PRODUCT_NAME: "UA92verse"
VRCA_WIZARD_TITLE: "UA92verse"
VRCA_WIZARD_WELCOME_TEXT: ""
VRCA_WIZARD_TAGLINE: ""
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.ua92verse_ftp_username }}
password: ${{ secrets.ua92verse_ftp_password }}
local-dir: dist/spa/
server-dir: ${{ secrets.ua92verse_ftp_dir }}
dry-run: false