Skip to content

Use data from ssciwr/research-software-directory repo #32

Use data from ssciwr/research-software-directory repo

Use data from ssciwr/research-software-directory repo #32

Workflow file for this run

name: Build and deploy to gh-pages
on: push
jobs:
build-and-deploy:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm install
- run: npm run build
- uses: JamesIves/github-pages-deploy-action@v4
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
name: Deploy to gh-pages
with:
branch: gh-pages
folder: dist
single-commit: true