Update pipeline-status #1382
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
name: Update pipeline-status | |
on: | |
workflow_dispatch: | |
push: | |
branches: main | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v5 | |
with: | |
commit_message: Update README.md with latest pipeline-status | |
branch: main | |
file_pattern: README.md | |
repository: . | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |