Docs Update #7
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
# This workflow updates the docs copyright year to latest | |
name: Docs Update | |
# Run this workflow at the beginning of each year | |
on: | |
schedule: | |
- cron: "0 0 1 1 *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run docs update script | |
run: cd "$GITHUB_WORKSPACE/docs" && ./update.sh | |
- name: Push docs changes | |
run: | | |
git config user.name ionutbortis | |
git config user.email [email protected] | |
git add . | |
git commit -m "Updated docs copyright year" && git push |