From 7b3e413dc859457811badd20d22a11e1189c33e9 Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Mon, 23 Jun 2025 19:09:51 +0300 Subject: [PATCH] update --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ed96ea3..735c456 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,14 +13,14 @@ jobs: # uses: actions/checkout@v4 # with: # repository: cuqmbr/homelab - - name: Clone homelab git repository + - name: Checkout cuqmbr/homelab repository run: git clone https://git.cuqmbr.xyz/cuqmbr/homelab.git --depth 1 --branch main --single-branch - - name: Install ansible + - name: Setup ansible run: apt-get update && apt-get install ansible-core -y - name: Create ssh key file run: echo -n "${{secrets.ANSIBLE_SSH_KEY}}" > key - name: Run ansible playbook - run: export user="gitea-actions"; ansible-playbook -vvv -u "${user}" --ssh-common-args "-o ProxyCommand='ssh -p 22 -W %h:%p -q ${user}@bastion.cuqmbr.home'" --private-key key -b --become-method doas -i ./homelab/ansible/inventories/dev/hosts.yml ./homelab/ansible/20_main_page.yml + run: cd ./homelab/ansible; export user="gitea-actions"; ansible-playbook -vvv -u "${user}" --ssh-common-args "-o ProxyCommand='ssh -p 22 -W %h:%p -q ${user}@bastion.cuqmbr.home'" --private-key key -b --become-method doas -i ./inventories/dev/hosts.yml ./20_main_page.yml # - name: Run ansible playbook # uses: dawidd6/action-ansible-playbook@v4 # with: