Skip to content

build-dash

build-dash #157

Workflow file for this run

on:
push:
branches:
- main
paths:
- '**.qmd'
- '**.R'
schedule:
- cron: "03 04,16 * * *"
workflow_dispatch:
name: build-dash
permissions:
contents: write
jobs:
build-dash:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
RENV_PATHS_ROOT: ~/.local/share/renv
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty
log-directives: nix_installer=trace
backtrace: full
- name: Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build development environment
run: |
nix-build
- name: Render and Publish
uses: b-rodrigues/quarto-nix-actions/publish@main
with:
target: gh-pages
path: index.qmd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}