This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
chore(flake): update flake.lock #5
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: site | |
on: | |
push: | |
branches: [main] | |
paths: ["docs/**", "mkdocs.yml", "flake.*"] | |
pull_request: | |
branches: [main] | |
paths: ["docs/**", "mkdocs.yml", "flake.*"] | |
jobs: | |
site: | |
name: Build Site | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: "Install Nix ❄️" | |
uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23 | |
- name: "Build 🛠️" | |
run: "nix build .#site" | |
- name: "Deploy 🚀" | |
if: ${{ github.ref == 'refs/heads/main' }} | |
uses: crazy-max/[email protected] | |
with: | |
target_branch: gh-pages | |
build_dir: result | |
follow_symlinks: true | |
keep_history: false | |
fqdn: jesusmtnez.es | |
jekyll: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |