Skip to content

Update Sitemap

Update Sitemap #239

Workflow file for this run

name: Update Sitemap
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches: [main]
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 1000
steps:
- uses: actions/checkout@v3
- name: Update Sitemap
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
- run: yarn install
- run: node channels.js
- uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: 'main'