diff --git a/.woodpecker.yml b/.woodpecker.yml index 8e767d9..467bec0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,10 +1,12 @@ pipeline: backend: image: rust - # environment: - # - DATABASE_URL=postgres://postgres:password@database:5432/postgres commands: - # - make migrate + - apt update + - apt-get install -y --no-install-recommends nginx sudo + # nginx_le_bind runs this command. + # Testing beforehand to ensure it is setup properly + - sudo nginx -t - make - make test - make release @@ -27,9 +29,3 @@ pipeline: from_secret: DOCKER_TOKEN repo: realaravinth/librepages-conductor tags: latest - - #services: - # database: - # image: postgres - # environment: - # - POSTGRES_PASSWORD=password