db/.gitea/workflows/migrate-devel.yml
Orion Kindel f9dfc02b98
Some checks failed
migrate-devel / migrate-devel (push) Failing after 1m36s
chore: undo ci runs-on docker
2023-06-27 12:17:43 -05:00

22 lines
772 B
YAML

name: 'migrate-devel'
on: {push: {branches: ['main']}}
jobs:
migrate-devel:
steps:
- uses: 'actions/checkout@v3'
- name: 'install postgres'
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
apt-get install -y curl ca-certificates gnupg postgresql-common
YES=y sh /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
apt-get install -y postgresql-15
- name: 'install postgres'
run: |
curl -fsSL https://get.docker.com -o /tmp/get-docker.sh
sh /tmp/get-docker.sh
- run: './scripts/migrate.sh'
env:
POSTGRES_URI: '${{ secrets.POSTGRES_DEVEL_URI }}'