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

17 lines
364 B
YAML
Raw Normal View History

2022-04-15 10:01:46 +00:00
name: Deploy to staging
on:
workflow_dispatch:
inputs:
job_name:
description: "Job name that has completed"
required: true
type: string
2022-04-15 10:01:46 +00:00
jobs:
deploy:
name: Deploy to staging
runs-on: ubuntu-latest
steps:
2022-04-15 19:56:22 +00:00
- uses: actions/checkout@v3
- run: git tag -f ${{ inputs.job_name }}
- run: git push --tags