Skip to content

fixed minor issue with the picking players defaulting to values #564

fixed minor issue with the picking players defaulting to values

fixed minor issue with the picking players defaulting to values #564

Workflow file for this run

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
user: github
key: ${{ secrets.KEY }}
prod:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Pushing build to NYC
uses: fifsky/ssh-action@master
with:
command: |
cd prod/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/uni/
host: nyc.cs.berkeley.edu
user: github
key: ${{ secrets.KEY }}