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

16 lines
538 B
YAML
Raw Normal View History

2023-06-22 18:41:49 +00:00
name: 'migrate-devel'
on: {push: {tags: ['devel@*']}}
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-06-27 23:43:04 +00:00
with: { fetch-depth: 0 }
2023-07-15 22:39:17 +00:00
- run: './scripts/migrate.sh ${{ gitea.ref_name }} --greenlight'
2023-06-22 18:41:49 +00:00
env:
2023-06-27 23:43:04 +00:00
DOCKER_HOST: 'unix:///run/user/1001/docker.sock'
2023-06-22 18:41:49 +00:00
POSTGRES_URI: '${{ secrets.POSTGRES_DEVEL_URI }}'