Skip to content

Commit

Permalink
Merge pull request #196 from Pet-projects-CodePET/fix/deploy
Browse files Browse the repository at this point in the history
fix: Отключен пуш сертбота за ненадобностью
  • Loading branch information
Denis-Shtanskiy authored Apr 22, 2024
2 parents b989840 + efd224c commit 80c8a78
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,33 @@ jobs:
build-args: NGINX_NAME=${{ secrets.NGINX_DEV }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}_nginx:latest

# build_and_push_to_docker_hub_certbot:
# name: Push certbot Docker image to DockerHub
# runs-on: ubuntu-latest
# steps:
# - name: Check out the repo
# uses: actions/checkout@v4
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# - name: Login to Docker
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# - name: Push to DockerHub
# uses: docker/build-push-action@v5
# with:
# context: ./infra/certbot/
# push: true
# build-args: DOMAIN_NAME=${{ secrets.DOMAIN_DEV }}
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}_certbot:latest

deploy:
runs-on: ubuntu-latest
needs:
- build_and_push_to_docker_hub_backend
- build_and_push_to_docker_hub_nginx
- build_and_push_to_docker_hub_certbot
# - build_and_push_to_docker_hub_certbot
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 80c8a78

Please sign in to comment.