Skip to content

Commit

Permalink
created action for gauzy api stage on digitalOcean droplet
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey1330 committed Mar 4, 2024
1 parent 25687ac commit 7e21d2d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-do-droplet-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
COMPANY_NAME: '${{ secrets.COMPANY_NAME }}'

- name: Copy file via scp - with-cloudflare
if: ${{ env.INGRESS_CERT_TYPE == 'cloudflare' }}
uses: appleboy/scp-action@master
with:
host: ${{secrets.DO_DROPLET_DEMO_HOST}}
Expand All @@ -149,6 +150,7 @@ jobs:
source: '.deploy/ssh/with-cloudflare/docker-compose.api.demo.yml'
target: '.'
- name: Copy file via scp - with-letsencrypt
if: ${{ env.INGRESS_CERT_TYPE == 'letsencrypt' }}
uses: appleboy/scp-action@master
with:
host: ${{secrets.DO_DROPLET_DEMO_HOST}}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-do-droplet-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
COMPANY_NAME: '${{ secrets.COMPANY_NAME }}'

- name: Copy file via scp - with-cloudflare
if: ${{ env.INGRESS_CERT_TYPE == 'cloudflare' }}
uses: appleboy/scp-action@master
with:
host: ${{secrets.DO_DROPLET_PROD_HOST}}
Expand All @@ -149,6 +150,7 @@ jobs:
source: '.deploy/ssh/with-cloudflare/docker-compose.api.prod.yml'
target: '.'
- name: Copy file via scp - with-letsencrypt
if: ${{ env.INGRESS_CERT_TYPE == 'letsencrypt' }}
uses: appleboy/scp-action@master
with:
host: ${{secrets.DO_DROPLET_PROD_HOST}}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-do-droplet-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
COMPANY_NAME: '${{ secrets.COMPANY_NAME }}'

- name: Copy file via scp - with-cloudflare
if: ${{ env.INGRESS_CERT_TYPE == 'cloudflare' }}
uses: appleboy/scp-action@master
with:
host: ${{secrets.DO_DROPLET_STAGE_HOST}}
Expand All @@ -149,6 +150,7 @@ jobs:
source: '.deploy/ssh/with-cloudflare/docker-compose.api.stage.yml'
target: '.'
- name: Copy file via scp - with-letsencrypt
if: ${{ env.INGRESS_CERT_TYPE == 'letsencrypt' }}
uses: appleboy/scp-action@master
with:
host: ${{secrets.DO_DROPLET_STAGE_HOST}}
Expand Down

0 comments on commit 7e21d2d

Please sign in to comment.