db/.gitea/workflows/migrate-devel.yml

16 lines
574 B
YAML
Raw Normal View History

2023-06-22 18:41:49 +00:00
name: 'migrate-devel'
2023-07-19 02:38:07 +00:00
on: { push: { branches: ['migrations'] } }
jobs:
2023-06-22 18:41:49 +00:00
migrate-devel:
2023-06-27 23:43:04 +00:00
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'
2023-07-19 02:38:07 +00:00
with: { fetch-depth: 0, ref: 'main' }
- run: './scripts/migrate.sh'
2023-06-22 18:41:49 +00:00
env:
2023-07-19 02:38:07 +00:00
DOCKER_HOST: 'unix:///run/user/1001/docker.sock' # HACK: rootless docker on gitea action runner
2023-06-22 18:41:49 +00:00
POSTGRES_URI: '${{ secrets.POSTGRES_DEVEL_URI }}'