Skip to content

Sitemap Update Check #336

Sitemap Update Check

Sitemap Update Check #336

Workflow file for this run

name: Sitemap Update Check
on:
schedule:
- cron: '0 */12 * * *'
workflow_dispatch:
jobs:
check:
if: github.repository == 'boomboompower/twitch-knowledgebase' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
always-auth: false
node-version: 16.x
cache: npm
- run: npm install
- run: npm run start --if-present
env:
RAW_URL: ${{ secrets.RAW_URL }}
- name: Setup Git
run: |
git config --global user.name 'github-bot'
git config --global user.email '[email protected]'
- name: Commit Language Files
run: |
git add docs
git add README.md
git commit -m "Sitemap Update ${{ github.run_number }}"
continue-on-error: true
- name: Push Files
run: git push
continue-on-error: true
- name: Done
run: |
echo Goodbye!