I didn't realize that the the GitHub Pages demo was depending on the HTML demo being located at ./docs/demo/index.html, which means I broke it when I moved everything around in https://github.com/benjamine/jsondiffpatch/pull/350.
Now that the HTML demo is written in TypeScript, it needs to be built before it can be deployed. This PR adds a GitHub Action to build and deploy the HTML demo to GitHub Actions and updates all the links to point the new correct address.
Fixes https://github.com/benjamine/jsondiffpatch/issues/354.
I didn't realize that the the GitHub Pages demo was depending on the HTML demo being located at
./docs/demo/index.html
, which means I broke it when I moved everything around in https://github.com/benjamine/jsondiffpatch/pull/350.Now that the HTML demo is written in TypeScript, it needs to be built before it can be deployed. This PR adds a GitHub Action to build and deploy the HTML demo to GitHub Actions and updates all the links to point the new correct address.
I tested it to make sure it worked on a fork.