Skip to content

Exclude compat links from the old wiki from cleanup #82

Exclude compat links from the old wiki from cleanup

Exclude compat links from the old wiki from cleanup #82

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: "0 0,12 * * *"
env:
refinedSitesVersion: 0.1.2
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Refined Sites
run: wget "https://github.com/refinedmods/refinedsites/releases/download/v$refinedSitesVersion/refinedsites-$refinedSitesVersion-all.jar"
- name: Setup Java
uses: refinedmods/refinedarchitect/.github/actions/setup-java@develop
- name: Build site
run: java -jar refinedsites-$refinedSitesVersion-all.jar .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist/
clean: true
clean-exclude: |
refined-storage/wiki/*.html