blog/.forgejo/workflows/cd.yml
Matthew Binning 0b92f900db
Some checks failed
CI / build (push) Failing after 18s
feat(4): Replace workflow with three
2026-03-26 14:11:59 -07:00

25 lines
522 B
YAML

name: CD
on:
workflow_dispatch:
inputs:
target:
description: "Deployment target"
required: true
type: choice
options:
- local
- staging
- prod
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: site-${{ github.sha }}
path: blog/
- name: Deploy
run: nix shell nixpkgs#rsync --command ./deploy.sh ${{ inputs.target }}