Skip to content

.github/workflows/ci.yaml #1046

.github/workflows/ci.yaml

.github/workflows/ci.yaml #1046

Workflow file for this run

on:
push:
branches:
- master
pull_request:
schedule:
- cron: '5 0 * * *'
jobs:
deploy-website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v15
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-shell --run build-website
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
if: github.ref == 'refs/heads/master'