WIP for Renovate flows.
This commit is contained in:
@@ -18,3 +18,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Validate docker-compose.yml
|
- name: Validate docker-compose.yml
|
||||||
run: docker compose config
|
run: docker compose config
|
||||||
|
|
||||||
|
- name: Trigger Tar Valon Ansible Deploy
|
||||||
|
run: |
|
||||||
|
BRANCH="${GITHUB_REF_NAME}"
|
||||||
|
curl -X POST \
|
||||||
|
-H "Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
"https://git.trez.wtf/api/v1/repos/Trez/rinoa-docker/actions/workflows/renovate-pr-deploy.yml/dispatches" \
|
||||||
|
-d "{\"ref\":\"${BRANCH}\"}"
|
||||||
+5
-10
@@ -1,20 +1,15 @@
|
|||||||
name: Deploy Renovate Updates
|
name: Deploy Renovate Updates
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_dispatch:
|
||||||
workflows: ["Check Renovate Updates"]
|
# workflow_run:
|
||||||
types:
|
# workflows: ["Check Renovate Updates"]
|
||||||
- completed
|
# types:
|
||||||
|
# - completed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >
|
|
||||||
${{
|
|
||||||
github.event.workflow_run.conclusion == 'success' &&
|
|
||||||
contains(toLower(github.event.workflow_run.head_commit.author.name), 'renovate')
|
|
||||||
}}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
Reference in New Issue
Block a user