From b88fdba1ad3fae79eb96ab9e9a385964a8c5eccf Mon Sep 17 00:00:00 2001 From: lagertonne Date: Sun, 10 Nov 2024 21:19:00 +0100 Subject: [PATCH] wip ansible in forgejo --- .forgejo/workflows/deploy.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 3d3e7d5..1f6192c 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -1,9 +1,18 @@ -on: [push] +on: + push: + branches: + - feature/forgejo-actions + - testing jobs: test: runs-on: docker - container: - image: docker.io/serversideup/ansible:latest steps: - - run: ansible --version + - uses: actions/checkout@v4 + + - name: Install ansible + run: | + apt update -y + apt install python3-pip -y + python3 -m pip install ansible + python3 -m pip install ansible-lint