db/.gitea/workflows/migrate-devel.yml
Orion Kindel bff2f404dd
All checks were successful
migrate-devel / migrate-devel (push) Successful in 7s
fix: ref_name
2023-07-15 18:39:17 -04:00

16 lines
538 B
YAML

name: 'migrate-devel'
on: {push: {tags: ['devel@*']}}
jobs:
migrate-devel:
container:
image: 'git.orionkindel.com/dnim/db-ci-runner:disheveled-iceberg-launched-loosely'
volumes: ['/run/user/1001/docker.sock:/run/user/1001/docker.sock']
steps:
- uses: 'actions/checkout@v3'
with: { fetch-depth: 0 }
- run: './scripts/migrate.sh ${{ gitea.ref_name }} --greenlight'
env:
DOCKER_HOST: 'unix:///run/user/1001/docker.sock'
POSTGRES_URI: '${{ secrets.POSTGRES_DEVEL_URI }}'