Skip to content

Commit

Permalink
٩(。•́‿•̀。)۶
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducheved committed Mar 3, 2024
1 parent c5ca927 commit eec3db0
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 @@ -39,17 +39,19 @@ 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: Deploy to server
env:
ADDRESS: 0.0.0.0
PORT: ${{ secrets.SRV_PORT }}
UNIT: 1
TYPE: 1
PROTOCOL: ${{ secrets.PROTOCOL_API }}
PROTOCOL: ${{ secrets.PROTOCOL }}
SRV_HOSTNAME: ${{ secrets.SRV_HOSTNAME }}
SRV_PORT: ${{ secrets.SRV_PORT }}
FRNT_PORT: ${{ secrets.FRNT_PORT }}
PROTOCOL_API: http
PROTOCOL_API: ${{ secrets.PROTOCOL_API }}
run: |
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/cute.converter:gitsrv
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/cute.converter:gitfrnt
Expand Down

0 comments on commit eec3db0

Please sign in to comment.