Skip to content

functional categories #35

functional categories

functional categories #35

Workflow file for this run

name: Trials Deploy CI
on:
push:
branches: []
pull_request:
branches: []
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Build Project
run: npm run build
- name: Upload Artifact For Deployment
uses: actions/upload-artifact@v4
with:
name: production-files
path: ./build
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: production-files
path: ./build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.TRIALS_CI_CD_TOKEN }}
publish_dir: ./build