Fix broken ItemHandler link (#249) #344
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: Wiki Sync | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'pages/**' | |
jobs: | |
sync: | |
name: Synchronize Wiki | |
runs-on: ubuntu-latest | |
if: github.repository == 'Slimefun/Wiki' | |
steps: | |
- name: Checking out Repository | |
uses: actions/checkout@v3 | |
- name: Setting up node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '10.x' | |
- name: Scanning for dead links | |
run: node src/missing.js | |
env: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
- name: Syncing | |
run: sh src/sync.sh | |
env: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
LOGIN_EMAIL: ${{ secrets.LOGIN_EMAIL }} |