Skip to content

Commit

Permalink
changes to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
uo289029 committed Apr 10, 2024
1 parent 41230c6 commit 75b976b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 75b976b

Please sign in to comment.