Skip to content

Minor improvements

Minor improvements #10

Workflow file for this run

name: Publish docs
on:
push:
branches: [ main ]
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

Check failure on line 15 in .github/workflows/publish-docs.yml

View workflow run for this annotation

GitHub Actions / Publish docs

Invalid workflow file

The workflow is not valid. .github/workflows/publish-docs.yml (Line: 15, Col: 9): 'uses' is already defined
with:
github_access_token: $
nix_path: nixpkgs=channel:nixos-24.05
- uses: cachix/cachix-action@v15
with:
name: holochain-ci
- uses: cachix/cachix-action@v15
with:
name: holochain-open-dev
- 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.