From 00798cb5bcd650eb417097897d7d83d8ecd84cf4 Mon Sep 17 00:00:00 2001 From: geoffrey1330 Date: Mon, 4 Mar 2024 21:10:25 +0100 Subject: [PATCH] created action for gauzy api stage on digitalOcean droplet --- .../docker-compose.api.stage.letsencrypt.pre.yml | 2 +- .../ssh/with-letsencrypt/{stage.conf.d => }/nginx-certbot.env | 0 .github/workflows/deploy-do-droplet-pre-stage.yml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename .deploy/ssh/with-letsencrypt/{stage.conf.d => }/nginx-certbot.env (100%) diff --git a/.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml b/.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml index 7618ffdbec9..96d2198877e 100644 --- a/.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml +++ b/.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml @@ -7,7 +7,7 @@ services: environment: - CERTBOT_EMAIL env_file: - - ./stage.conf.d/nginx-certbot.env + - ./nginx-certbot.env ports: - "80:80" - "443:443" diff --git a/.deploy/ssh/with-letsencrypt/stage.conf.d/nginx-certbot.env b/.deploy/ssh/with-letsencrypt/nginx-certbot.env similarity index 100% rename from .deploy/ssh/with-letsencrypt/stage.conf.d/nginx-certbot.env rename to .deploy/ssh/with-letsencrypt/nginx-certbot.env diff --git a/.github/workflows/deploy-do-droplet-pre-stage.yml b/.github/workflows/deploy-do-droplet-pre-stage.yml index 3dddb09c00c..1af667ae3e6 100644 --- a/.github/workflows/deploy-do-droplet-pre-stage.yml +++ b/.github/workflows/deploy-do-droplet-pre-stage.yml @@ -33,7 +33,7 @@ jobs: host: ${{secrets.DO_DROPLET_STAGE_HOST}} username: ${{secrets.DO_DROPLET_USERNAME}} key: ${{secrets.DO_DROPLET_KEY}} - source: '.deploy/ssh/with-cloudflare/docker-compose.api.stage.cloudflare.pre.yml,.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml,.deploy/ssh/with-cloudflare/nginx.stage.pre.cloudflare.conf,.deploy/ssh/with-letsencrypt/stage.conf.d,.deploy/ssh/with-cloudflare/ingress.api.crt,.deploy/ssh/with-cloudflare/ingress.api.key' + source: '.deploy/ssh/with-cloudflare/docker-compose.api.stage.cloudflare.pre.yml,.deploy/ssh/with-letsencrypt/docker-compose.api.stage.letsencrypt.pre.yml,.deploy/ssh/with-cloudflare/nginx.stage.pre.cloudflare.conf,.deploy/ssh/with-letsencrypt/stage.conf.d,.deploy/ssh/with-letsencrypt/nginx-certbot.env,.deploy/ssh/with-cloudflare/ingress.api.crt,.deploy/ssh/with-cloudflare/ingress.api.key' target: '.' - name: Deploy to DigitalOcean Droplet uses: appleboy/ssh-action@master