Add 1.11.0 release blog post #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test" | |
on: | |
pull_request: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- 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/[email protected] | |
- name: Download artifact | |
uses: actions/download-artifact@v2 | |
with: | |
name: pages | |
path: result/docs | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: result/docs |