Merge branch 'master' into main #177
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# | |
# Ansible managed | |
# | |
on: | |
workflow_dispatch: | |
push: {branches: ["master", "main"]} | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
name: Ansible Graphviz | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
path: ${{ github.repository }} | |
- name: create png | |
uses: buluma/[email protected] | |
- 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: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
directory: ${{ github.repository }} | |
force: true | |
branch: png |