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 }}'