Skip to content

Commit

Permalink
(=^‥^=) small fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducheved committed Mar 5, 2024
1 parent 5b18fee commit b23a102
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Stop and remove previous deployment
run: docker-compose -f docker-compose.prod.yml down --rmi all
- name: Remove existing .env file
run: rm -f .env
- name: Create .env file
run: |
echo ADDRESS=0.0.0.0 >> .env
Expand All @@ -65,6 +65,8 @@ jobs:
echo BOT_ADDRESS=${{ secrets.BOT_ADDRESS }} >> .env
echo USE_WEBHOOKS=${{ secrets.USE_WEBHOOKS }} >> .env
echo WEBHOOK_URL=${{ secrets.WEBHOOK_URL }} >> .env
- name: Stop and remove previous deployment
run: docker-compose -f docker-compose.prod.yml down --rmi all
- name: Deploy to server
run: |
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/cuteconverter-frontend:latest
Expand Down

0 comments on commit b23a102

Please sign in to comment.