Files
replayweb.page/.github/workflows/site-publish.yaml
T
Ilya Kreymer 7229609ed0 2.0.1 work - fidelity + build improvements (#327)
Fidelity improvements (via wabac.js and wombat):
- fixes ebay carousel #326 (via wombat)
- partial fix to error page escaping #323 (via wabac)
- fixes to reddit pages #317 
- fixes to twitter/x replay (via wabac / wombat)

Build improvements:
- run mkdocs gh-deploy --force in gh action, instead of publish-docs to avoid accidental updates
- auto install ruffle from download script, remove from git, add 'update-ruffle' script
- update to latest ruffle which doesn't inject setImmeidate/ clearImmediate to avoid interference with certain sites, fixing fidelity on some sites (including twitter/x)
- remove unused src/sw.ts
- deps: wabac.js to 2.18.2

bump to 2.0.1
2024-06-09 17:38:38 -07:00

45 lines
893 B
YAML

name: site-publish
on:
push:
branches:
- main
paths:
- 'site/**'
- 'mkdocs/**'
- 'src/**'
- 'package.json'
- 'yarn.lock'
permissions:
contents: write
jobs:
deploy_site:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Yarn Install
run: yarn install --frozen-lockfile
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install -r mkdocs/requirements.txt
- name: Update Ruffle
run: yarn run update-ruffle
- name: Build RWP + Docs
run: yarn run build-docs
- name: Publish to GH
run: cd mkdocs; mkdocs gh-deploy --force