feat: reduce lobby time to 30s #346
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: Deploy menu to GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-deploy: | |
name: Build and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false # needed for the GitHub Pages deploy to work | |
- name: Use Node.js '16.x' | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "16.x" | |
- name: Install dependencies | |
run: yarn | |
- name: Build application | |
run: yarn workspace @creature-chess-app/web-menu build | |
env: | |
GA_ID: ${{ secrets.GA_ID }} | |
COOKIEBOT_ID: ${{ secrets.COOKIEBOT_ID }} | |
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | |
GAME_SERVER_URL: ${{ secrets.GAME_SERVER_URL }} | |
API_INFO_URL: ${{ secrets.API_INFO_URL }} | |
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }} | |
AUTH0_SPA_CLIENT_ID: ${{ secrets.AUTH0_SPA_CLIENT_ID }} | |
CREATURE_CHESS_APP_URL: ${{ secrets.CREATURE_CHESS_APP_URL }} | |
GH_PAGES: true | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: apps/web-menu/public |