Skip to content

Change deploy branch #6

Change deploy branch

Change deploy branch #6

Workflow file for this run

name: Deploy App to Github Pages
on:
push:
branches:
- deploy
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 install
- name: Build App
run: npm run build
- name: Run tests
run: npm test
- name: Deploy
run: |
git remote set-url origin https://aglgit:${{ secrets.ACCESS_TOKEN }}@github.com/aglgit/voltorb-flip.git
npm run deploy