Skip to content

Merge pull request #59 from darksoil-studio/develop #91

Merge pull request #59 from darksoil-studio/develop

Merge pull request #59 from darksoil-studio/develop #91

name: Build and Deploy Site
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy-site:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: holochain-ci
- uses: cachix/cachix-action@v14
with:
name: darksoil-studio
- name: Install and Build 🔧
run: |
nix develop --no-update-lock-file --command bash -c "pnpm install && pnpm -F docs build"
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/.vitepress/dist # The folder the action should deploy.