Skip to content

Commit

Permalink
Update CICD.yml with hetzner creds cofigured
Browse files Browse the repository at this point in the history
  • Loading branch information
makeevolution authored Dec 24, 2023
1 parent ac6a43b commit 13ce649
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 13ce649

Please sign in to comment.