-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused scene functions; add GHA autodeploy.
- Loading branch information
Showing
3 changed files
with
35 additions
and
44 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,35 @@ | ||
# Automatically deploy the latest changes to the FTP server. | ||
on: | ||
# Triggers the workflow on push events but only for the "master" branch. | ||
push: | ||
branches: [ "master" ] | ||
|
||
# Allows this workflow to be run manually from the Actions tab. | ||
workflow_dispatch: | ||
|
||
name: 🚀 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 | ||
|
||
- name: 📥 Install project dependencies | ||
run: npm install | ||
|
||
- name: ⚒️ Build the project | ||
run: npm run build | ||
|
||
- name: 📂 Sync files | ||
uses: SamKirkland/FTP-Deploy-Action@4.3.0 | ||
with: | ||
server: ftp.vircadia.com | ||
username: ${{ secrets.ftp_username }} | ||
password: ${{ secrets.ftp_password }} | ||
local-dir: dist/spa/ | ||
server-dir: / | ||
dry-run: false |
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