From 2e41e932f71146729ce6c17ded0cff04faf52114 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Tue, 2 Jul 2024 15:26:59 +0200 Subject: [PATCH] [ci] feat: migrated to gitea actions workflow --- .gitea/workflows/build.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ef2735f..c227b49 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -38,28 +38,28 @@ jobs: cr.simoncor.net/siempie/simoncor-net:latest - # kubernetes deployment + # ansible deployment deployment: runs-on: 'ubuntu-latest' steps: # name: Build - - name: 'Kubernetes rollout deployment' + - name: 'Ansible deployment' uses: 'appleboy/ssh-action@v1.0.3' with: - # bastionproxy_host: ${{ secrets.PROXY_HOST }} + # bastion proxy_host: 'siempie.com' proxy_port: '22' proxy_username: ${{ secrets.USERNAME }} proxy_key: ${{ secrets.SSHKEY }} - # kubernetes management - host: 'k9s.siempie.internal' + # ansible management + host: 'ansible.siempie.internal' port: '22' username: ${{ secrets.USERNAME }} key: ${{ secrets.SSHKEY }} # command script: | - kubectl -n simoncor-net rollout restart deployment simoncor-net + sudo /usr/local/bin/ansible-playbook /etc/ansible/playbooks/production/www.yaml