From 75b976bf6e0ac7cb90fd79a24eb4f87a162014fc Mon Sep 17 00:00:00 2001 From: uo289029 Date: Wed, 10 Apr 2024 12:36:56 +0200 Subject: [PATCH] changes to deploy --- .github/workflows/release.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e359f1..ea14384 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,8 +77,6 @@ jobs: - uses: actions/checkout@v4 - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 - env: - MONGODB_URI: ${{ secrets.MONGODB_URI }} with: name: arquisoft/wiq_es1b/authservice username: ${{ github.actor }} @@ -96,8 +94,6 @@ jobs: - uses: actions/checkout@v4 - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 - env: - MONGODB_URI: ${{ secrets.MONGODB_URI }} with: name: arquisoft/wiq_es1b/userservice username: ${{ github.actor }} @@ -136,8 +132,6 @@ jobs: - uses: actions/checkout@v4 - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 - env: - MONGODB_URI: ${{ secrets.MONGODB_URI }} with: name: arquisoft/wiq_es1b/questionsgenerator username: ${{ github.actor }} @@ -155,8 +149,6 @@ jobs: - uses: actions/checkout@v4 - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 - env: - MONGODB_URI: ${{ secrets.MONGODB_URI }} with: name: arquisoft/wiq_es1b/record username: ${{ github.actor }} @@ -170,14 +162,11 @@ jobs: steps: - name: Deploy over SSH uses: fifsky/ssh-action@master - env: - MONGODB_URI: ${{ secrets.MONGODB_URI }} with: host: ${{ secrets.DEPLOY_HOST }} user: ${{ secrets.DEPLOY_USER }} key: ${{ secrets.DEPLOY_KEY }} command: | - echo "MONGODB_URI=$MONGODB_URI" wget https://raw.githubusercontent.com/arquisoft/wiq_es1b/master/docker-compose.yml -O docker-compose.yml wget https://raw.githubusercontent.com/arquisoft/wiq_es1b/master/.env -O .env docker compose --profile prod down