ci: removed deploy job
All checks were successful
pipeline / build-and-push-images (push) Successful in 4m8s
All checks were successful
pipeline / build-and-push-images (push) Successful in 4m8s
Deploying is now part of the standard homeprod infrastructure :)
This commit is contained in:
@@ -47,30 +47,3 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:latest
|
git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:latest
|
||||||
git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:${{ github.sha }}
|
git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:${{ github.sha }}
|
||||||
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs:
|
|
||||||
- build-and-push-images
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
sparse-checkout: |
|
|
||||||
docker-compose.yml
|
|
||||||
sparse-checkout-cone-mode: false
|
|
||||||
|
|
||||||
- name: Docker Stack deploy
|
|
||||||
uses: leonidgrishenkov/docker-stack-deploy@v1.2.3
|
|
||||||
with:
|
|
||||||
registry: https://git.vhaudiquet.fr
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.PACKAGES_TOKEN }}
|
|
||||||
remote_host: docker-prod.local
|
|
||||||
remote_user: root
|
|
||||||
remote_private_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
|
|
||||||
stack_file: "docker-compose.yml"
|
|
||||||
stack_name: "lolstats"
|
|
||||||
env_file: |
|
|
||||||
GIT_COMMIT_HASH=${{ github.sha }}
|
|
||||||
RIOT_API_KEY=${{ secrets.RIOT_API_KEY }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user