Skip to content

Update pipeline-status #1060

Update pipeline-status

Update pipeline-status #1060

name: Update pipeline-status
on:
workflow_dispatch:
push:
branches: main
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run a multi-line script
run: |
docker build -t localbuild -f Dockerfile .
docker run --rm -v $(pwd):/buildout localbuild
mv buildout/README.md .
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update README.md with latest pipeline-status
branch: main
file_pattern: README.md
repository: .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}