Skip to content

Updated the GITHUB_TOKEN #4

Updated the GITHUB_TOKEN

Updated the GITHUB_TOKEN #4

Workflow file for this run

name: Build and deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build the app
run: npm run build
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.BANANA_TROUBLE }}
BRANCH: gh-pages
FOLDER: build