nixos-config/.github/workflows/deploy.yml

16 lines
364 B
YAML

name: Deploy to staging
on:
workflow_dispatch:
inputs:
job_name:
description: "Job name that has completed"
required: true
type: string
jobs:
deploy:
name: Deploy to staging
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: git tag -f ${{ inputs.job_name }}
- run: git push --tags