Skip to content

assume lobbies and users are sorted by id #844

assume lobbies and users are sorted by id

assume lobbies and users are sorted by id #844

Workflow file for this run

name: Build and Deploy to Github Pages
on:
push:
branches:
- release
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Setup Node.Js
uses: actions/setup-node@v4
with:
node-version: 18.0
- name: Install
run: npm install
- name: Build .env file
run: |
echo "VITE_BANG_SERVER_URL=${{ vars.BANG_SERVER_URL }}" >> .env
echo "VITE_DISCORD_LINK=${{ vars.DISCORD_LINK }}" >> .env
echo "VITE_PAYPAL_DONATE_LINK=${{ vars.PAYPAL_DONATE_LINK }}" >> .env
- name: Build
run: npm run build
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./dist/
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4