16 lines
599 B
YAML
16 lines
599 B
YAML
name: 'migrate-devel'
|
|
on: { push: { branches: ['migrations'] } }
|
|
|
|
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, 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 }}'
|