Skip to content

Update data/2024/11/index.json #3658

Update data/2024/11/index.json

Update data/2024/11/index.json #3658

Workflow file for this run

name: test-and-update
on: [push, pull_request]
env:
CI: true
permissions:
contents: read
jobs:
test:
name: "Test on Node.js ${{ matrix.node-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install
- name: Test
run: yarn test
- name: Update
if: github.ref == 'refs/heads/gh-pages'
run: |
set -ex
git config --global user.name 'azu'
git config --global user.email '[email protected]'
./tools/update-source-data.sh
./tools/update-realtime.sh
./tools/update-next-draft.sh
npm run discord
env:
GH_TOKEN: ${{ secrets.SHARED_BOT_GITHUB_TOKEN }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}