-
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.
Update CICD.yml with hetzner creds cofigured
- Loading branch information
1 parent
ac6a43b
commit 13ce649
Showing
1 changed file
with
3 additions
and
3 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 |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
python3 -m pip install -r requirements/common.txt | ||
python3 -m flask test | ||
build_container_and_push_to_docker_hub_registry: | ||
build_container_and_push_to_dockerhub: | ||
runs-on: ubuntu-latest | ||
needs: run_tests | ||
steps: | ||
|
@@ -52,9 +52,9 @@ jobs: | |
# After pushing, we go to the server, download the image and run it there | ||
deploy_service_on_server: | ||
runs-on: ubuntu-latest | ||
needs: build_container_and_push_to_docker_hub_registry | ||
needs: build_container_and_push_to_dockerhub | ||
steps: | ||
- name: Deploy to Digital Ocean droplet via SSH action | ||
- name: Deploy to server via SSH action | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.SSHHOST1 }} | ||
|