Skip to content

Migrated API routes to express #2

Migrated API routes to express

Migrated API routes to express #2

Workflow file for this run

name: build
on:
push:
branches: [ "standalone-dev", "master" ]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
CI: false
NEXT_PUBLIC_SERVER: staging.worldguessr.com
# add more env vars here
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install and Build
run: |
npm i
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out