Skip to content

Updated to holochain v0.4 #38

Updated to holochain v0.4

Updated to holochain v0.4 #38

Workflow file for this run

name: Publish docs
on:
push:
branches: [ main, main-0.4 ]
permissions:
contents: write
jobs:
build-and-deploy:
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
- uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
nix_path: nixpkgs=channel:nixos-24.05
- uses: cachix/cachix-action@v15
with:
name: holochain-ci
- uses: cachix/cachix-action@v15
with:
name: darksoil-studio
- uses: cachix/cachix-action@v15
with:
name: darksoil-studio
- name: Install and Build 🔧
run: |
nix develop --no-update-lock-file --accept-flake-config --command bash -c "pnpm i && 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.