Skip to content

Merge pull request #19 from morucci/bp-1.10.0 #55

Merge pull request #19 from morucci/bp-1.10.0

Merge pull request #19 from morucci/bp-1.10.0 #55

Workflow file for this run

name: "Test"
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixos-20.09
- run: nix-build --attr pages
- name: Artifact pages
uses: actions/upload-artifact@v2
with:
name: pages
path: result/docs
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v2.3.4
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: pages
path: result/docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: result/docs