Files
casa/.gitea/workflows/host.yml
Márcio Fernandes 9d38aa7b31
Some checks failed
deploy host / build (push) Failing after 18s
.
2024-09-01 01:08:40 +01:00

33 lines
813 B
YAML

name: deploy host
on:
push:
paths-ignore:
- "services/**"
- "docs/**"
- ".gitea/workflows/**services**.yml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
# - name: Install Ansible
# shell: bash
# run: |
# sudo apt update
# sudo apt install -y ansible
- name: Docker tests
run: |
docker pull librespace/ansible
docker run librespace/ansible ansible-playbook ansible/site.yml --private-key xxxx -u xxxx
# - name: Run Ansible Playboo
# env:
# ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
# ANSIBLE_HOST_KEY_CHECKING: False
# run: |
# ansible-playbook ansible/site.yml --private-key xxxx -u xxxx