Skip to content

censor mail

censor mail #82

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Deploy
concurrency: deploy
on:
push:
branches:
- hugo
env:
BUILDDIR: ./public
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Install Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Checkout
uses: actions/checkout@main
- name: Build
run: |
nix build -L
cp -vrL ./result ${{ env.BUILDDIR }}
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: pages deploy --project-name=neohome ${{ env.BUILDDIR }}