mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 09:09:45 +01:00
c12897e8e1
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from v8 to v10. - [Release notes](https://github.com/cachix/cachix-action/releases) - [Commits](https://github.com/cachix/cachix-action/compare/v8...73e75d1a0cd4330597a571e8f9dedb41faa2fc4e) Signed-off-by: dependabot[bot] <support@github.com>
28 lines
690 B
YAML
28 lines
690 B
YAML
name: GitHub Pages
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
publish:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: cachix/install-nix-action@v13
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
- uses: cachix/cachix-action@v10
|
|
with:
|
|
name: nix-community
|
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
|
- run: |
|
|
nix-build -A docs.html
|
|
cp -r result/share/doc/home-manager public
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./public
|