Skip to content

Commit

Permalink
Merge branch 'DefaultAnimationCC' into rh/welcomepage
Browse files Browse the repository at this point in the history
  • Loading branch information
cameroncheung00 committed Jun 12, 2023
2 parents 2b97487 + 3e0020c commit caae575
Show file tree
Hide file tree
Showing 435 changed files with 6,383 additions and 4,899 deletions.
31 changes: 7 additions & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,6 @@ name: test
on: [push, pull_request, workflow_dispatch]

jobs:
dev:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev'
steps:
- name: Pushing build to NYC
uses: fifsky/ssh-action@master
with:
command: |
cd dev/GamesmanUni
echo "Pulling from GitHub ---------------------------------------------------"
git pull
echo "Checking and installing new dependencies ------------------------------"
yarn install
echo "Building prod ---------------------------------------------------------"
yarn build
echo "Pushing to prod -------------------------------------------------------"
sudo rsync -au dist/ /var/www/html/dev/uni/
host: nyc.cs.berkeley.edu
port: 2222
user: github
key: ${{ secrets.KEY }}
prod:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
Expand All @@ -31,16 +10,20 @@ jobs:
uses: fifsky/ssh-action@master
with:
command: |
cd prod/GamesmanUni
cd GamesmanUni
echo "Fetching from remote --------------------------------------------------"
git fetch -v
echo "Pulling from GitHub ---------------------------------------------------"
git pull
git reset --hard origin/main
echo "Checking and installing new dependencies ------------------------------"
nvm use 18
yarn install
echo "Building prod ---------------------------------------------------------"
yarn build
echo "Pushing to prod -------------------------------------------------------"
sudo rsync -au dist/ /var/www/html/uni/
sudo /bin/rsync -au /home/github/GamesmanUni/dist/ /var/www/html/uni/
host: nyc.cs.berkeley.edu
port: 2222
user: github
key: ${{ secrets.KEY }}
pass: ${{ secrets.PASS }}
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/GamesmanUni.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

4 changes: 0 additions & 4 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

22 changes: 0 additions & 22 deletions AutoGUIv2Experiment/index.html

This file was deleted.

Loading

0 comments on commit caae575

Please sign in to comment.