doubleray
Version:
WASM raytracer
31 lines (22 loc) • 556 B
Markdown
# Publish Gh Pages
To publish github pages, get to the version you want to publish.
* Edit `proxy_controls.html` and set `doPublicRender` to true.
* Verify `Makefile` has `O3`
Run
```bash
OPT3=1 make copy wasm
git symbolic-ref HEAD refs/heads/gh-pages
git reset
rm .gitignore
git pull
git add out
```
Commit from here
To get back to master:
```bash
git symbolic-ref HEAD refs/heads/master
git reset
git checkout .gitignore
```
# Issues with git pull
If git pull is not working reset hard, pull, and go back to master and build and start over again