Skip to content

Update basement and foundations patches #28

Update basement and foundations patches

Update basement and foundations patches #28

Workflow file for this run

name: Publish Overlay
on:
push:
branches:
- master
workflow_dispatch:
jobs:
Build-Overlay:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Build 🔧
uses: workflow/nix-shell-action@v3
with:
packages: cabal-install, ghc, gnupg, unzip, dos2unix
script: |
mkdir $HOME/secrets
gpg --quiet --batch --yes --decrypt --passphrase="${{ secrets.KEYS_KEY }}" \
--output $HOME/secrets/keys.zip ${{ github.workspace }}/.github/keys.zip.gpg
unzip -qq $HOME/secrets/keys.zip
unzip -qq ${{ github.workspace }}/.github/pkg.zip
PATH=.:$PATH hackage-overlay-repo-tool --patches patches --keys keys/ build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.2
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.