update remote versions #134
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 remote versions | |
on: | |
#schedule: | |
# - cron: "0 */2 * * *" | |
workflow_dispatch: | |
branches: [ master ] | |
#push: | |
# branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: master | |
- name: remote query | |
run: python $GITHUB_WORKSPACE/.github/workflows/vers_update.py -p $GITHUB_WORKSPACE | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_user_name: My GitHub Actions Bot | |
commit_user_email: [email protected] | |
commit_author: Author <[email protected]> | |
commit_message: Auto update GitHub Pages latest versions file |