build-actions #981
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: build-actions | |
on: | |
schedule: | |
- cron: '30 8 * * *' | |
jobs: | |
update_articles: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- run: npm ci | |
- run: git checkout main | |
- run: git pull origin main | |
- run: npm run dev | |
- run: git add . | |
- run: git config user.email "ercument.lacin@akinon.com" | |
- run: git config user.name "ercumentlacin" | |
- run: git commit -m "Update Articles 🎉" | |
- run: git push origin main |