Last active
December 31, 2020 15:50
-
-
Save vini-btc/f1a1602ea6a79246054714ea1ec3313a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Posts | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: "14" | |
- name: Install Dependencies (with cache) | |
uses: bahmutov/npm-install@v1 | |
- name: Update website with latest changes | |
run: npm run build | |
+ | |
+ - name: Commit changed files | |
+ uses: stefanzweifel/git-auto-commit-action@v4 | |
+ with: | |
+ commit_message: Update latest posts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment