fixed minor issue with the picking players defaulting to values #564
Workflow file for this run
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
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 }} |