Skip to content

Merge pull request #36 from fabric-testbed/develop #44

Merge pull request #36 from fabric-testbed/develop

Merge pull request #36 from fabric-testbed/develop #44

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [ "main" ]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ">=19"
- name: Install dependencies
run: npm install
- name: Build the project
run: npm run build
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
token: ${{ secrets.GITHUB_TOKEN }}
clean: true