Update README.md #3
Workflow file for this run
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 README.md | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
name: Update README.md | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: setup git config | |
run: | | |
git config user.name "GitHub Actions Bot" | |
git config user.email "<>" | |
- name: Update README.md | |
run : | | |
wget -O README.md https://raw.githubusercontent.com/ClassicPress/ClassicPress/develop/src/wp-content/themes/the-classicpress-theme/README.md | |
ls | |
- name: Commit & Push changes | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
message: 'Update README-md' |