Skip to content

Add oneline logo

Add oneline logo #117

Workflow file for this run

name: Build and deploy site
on:
push:
branches:
- gh-pages-source
schedule:
- cron: '0 3 1 * *' # monthly
workflow_dispatch:
inputs:
source_branch:
description: 'Source branch'
required: true
jobs:
build:
name: Build generator and compile site
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install Nix ❄️
uses: cachix/install-nix-action@v20
- name: Install and setup Cachix 💽
uses: cachix/cachix-action@v12
with:
name: munihac-website
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Build Generator and Site 👷
run: |
nix-build
cp -RL result result-with-changed-permissions
chmod -R +w result-with-changed-permissions/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: master
FOLDER: result-with-changed-permissions