Skip to content

Updated the deploy.yaml file to include the new environment variable. #2

Updated the deploy.yaml file to include the new environment variable.

Updated the deploy.yaml file to include the new environment variable. #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Change this to your main branch name
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies and build
run: |
npm install
cd server && npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_PAGES_TOKEN }}
publish_dir: ./client/dist # Change this to your build output directory