forked from RomainDreidemy/MT5-EasyDocker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: not deploy with github actions and change .env file
- Loading branch information
1 parent
82e5b6f
commit f54b7b9
Showing
3 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,20 +131,20 @@ jobs: | |
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
|
||
deploy: | ||
name: Deploy on server | ||
runs-on: ubuntu-latest | ||
needs: [publish-api, publish-front] | ||
|
||
steps: | ||
- name: Deploy on server | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USERNAME }} | ||
key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
port: ${{ secrets.SSH_PORT }} | ||
script: | | ||
docker compose pull | ||
docker compose down | ||
docker compose up -d | ||
# deploy: | ||
# name: Deploy on server | ||
# runs-on: ubuntu-latest | ||
# needs: [publish-api, publish-front] | ||
|
||
# steps: | ||
# - name: Deploy on server | ||
# uses: appleboy/[email protected] | ||
# with: | ||
# host: ${{ secrets.SSH_HOST }} | ||
# username: ${{ secrets.SSH_USERNAME }} | ||
# key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
# port: ${{ secrets.SSH_PORT }} | ||
# script: | | ||
# docker compose pull | ||
# docker compose down | ||
# docker compose up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters