Skip to content

Deploy App to Github Pages #24

Deploy App to Github Pages

Deploy App to Github Pages #24

Workflow file for this run

name: Deploy App to Github Pages
on:
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "22"
- name: Install dependencies
run: npm ci
- name: Build App
run: npm run build
- name: Run tests
run: npm test
- name: Deploy
run: |
git config user.name "Andreas L"
git config user.email "[email protected]"
git remote set-url origin https://aglgit:${{ secrets.ACCESS_TOKEN }}@github.com/aglgit/voltorb-flip.git
npm run deploy