Skip to content

Update main.yml

Update main.yml #5

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
env:
CI: false
- name: List build output
run: ls -R dist
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
permissions:
contents: write