Testing Molecule #1

Merged
giacchetta merged 3 commits from add-trigger into main 2026-04-08 23:01:42 +00:00
2 changed files with 20 additions and 3 deletions
Showing only changes of commit 987d2ec610 - Show all commits

View File

@@ -42,11 +42,11 @@ jobs:
fi
- name: Install Molecule
if: steps.check.outputs.needs_update == 'true'
# if: steps.check.outputs.needs_update == 'true'
run: pip install ansible molecule molecule-plugins[podman]
- name: Install Ansible collections
if: steps.check.outputs.needs_update == 'true'
# if: steps.check.outputs.needs_update == 'true'
run: ansible-galaxy collection install containers.podman
- name: Update gitea_version
@@ -62,7 +62,7 @@ jobs:
echo "Verified: gitea_version updated to $UPDATED"
- name: Run Molecule tests
if: steps.check.outputs.needs_update == 'true'
# if: steps.check.outputs.needs_update == 'true'
working-directory: ansible_role_scm
run: molecule test

17
.github/workflows/trigger.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Calling Docusaurus
on:
push:
branches:
- main
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.PUBLIC_REPOSITORY_DISPATCH }}
repository: gianet-us/www_gianet_us
event-type: trigger-docs-update