chore: ci runs-on docker
Some checks reported warnings
migrate-devel / migrate-devel (push) Has been cancelled
Some checks reported warnings
migrate-devel / migrate-devel (push) Has been cancelled
This commit is contained in:
parent
0d639e8a9d
commit
bfbd8ffb7b
@ -3,6 +3,7 @@ on: {push: {branches: ['main']}}
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
migrate-devel:
|
migrate-devel:
|
||||||
|
runs-on: 'docker'
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v3'
|
- uses: 'actions/checkout@v3'
|
||||||
- name: 'install postgres'
|
- name: 'install postgres'
|
||||||
@ -12,10 +13,6 @@ jobs:
|
|||||||
apt-get install -y curl ca-certificates gnupg postgresql-common
|
apt-get install -y curl ca-certificates gnupg postgresql-common
|
||||||
YES=y sh /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
|
YES=y sh /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
|
||||||
apt-get install -y postgresql-15
|
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'
|
- run: './scripts/migrate.sh'
|
||||||
env:
|
env:
|
||||||
POSTGRES_URI: '${{ secrets.POSTGRES_DEVEL_URI }}'
|
POSTGRES_URI: '${{ secrets.POSTGRES_DEVEL_URI }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user