From e6674f49674cfd493b4a0ef860ad5a0c1f612d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 1 Sep 2024 00:26:31 +0100 Subject: [PATCH] . --- .gitea/workflows/host.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/host.yml b/.gitea/workflows/host.yml index 38b943f..e160999 100644 --- a/.gitea/workflows/host.yml +++ b/.gitea/workflows/host.yml @@ -11,7 +11,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - - name: Build project + + - name: Run Ansible Playbook + env: + ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }} + ANSIBLE_HOST_KEY_CHECKING: False run: | - npm install - npm run build \ No newline at end of file + ansible-playbook ansible/site.yml --private-key xxxx -u xxxx \ No newline at end of file