db/.gitea/workflows/migrate-devel.yml
Orion Kindel c462e62d14
All checks were successful
gen-migrations / gen-migrations (push) Successful in 2m41s
fix: update ci runner
2023-07-20 13:29:55 -05:00

16 lines
611 B
YAML

name: 'migrate-devel'
on: { push: { branches: ['main'], paths: ['migrations'] } }
jobs:
migrate-devel:
container:
image: 'git.orionkindel.com/dnim/db-ci-runner:specified-policeman-saw-kindly'
volumes: ['/run/user/1001/docker.sock:/run/user/1001/docker.sock']
steps:
- uses: 'actions/checkout@v3'
with: { fetch-depth: 0, ref: 'main', submodules: 'recursive' }
- run: './scripts/migrate.sh'
env:
DOCKER_HOST: 'unix:///run/user/1001/docker.sock' # HACK: rootless docker on gitea action runner
POSTGRES_URI: '${{ secrets.POSTGRES_DEVEL_URI }}'