Skip to content

New version of TODO action, old one was failing. #134

New version of TODO action, old one was failing.

New version of TODO action, old one was failing. #134

---
#
# Ansible managed
#
on:
- push
name: Ansible Graphviz
jobs:
build:
runs-on: ubuntu-20.04
permissions:
contents: write
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: ${{ github.repository }}
- name: create png
uses: robertdebock/graphviz-action@1.0.7
- name: Commit files
run: |
cd ${{ github.repository }}
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add requirements.dot requirements.png
git commit -m "Add generated files"
- name: save to png branch
uses: ad-m/github-push-action@master
with:
directory: ${{ github.repository }}
force: true
branch: png