19 lines
517 B
YAML
19 lines
517 B
YAML
name: 🚀 Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
deploy:
|
|
uses: ansible/ansible-runner/.gitea/workflows/ansible-runner.yaml@main
|
|
with:
|
|
role_repo: ansible/role-samba # role repository to check out
|
|
playbook_path: playbooks/deploy.yml # path inside the role repo
|
|
inventory: inventory/raspberries.yaml # optional — this is the default
|
|
ansible_extra_args: '--tags install' # optional
|
|
secrets:
|
|
TOKEN: ${{ secrets.TOKEN }}
|