Closed NathanLovato closed 2 years ago
Fixed by dee9e44acacc720dea042a9d3899936d0fedbc3b
Ok, it's fixed.
Some documentation for what I've made, that I'm not sure where to write.
run
helperThere's a small bash script at the project root, which helps building, testing, and cleaning up. I needed this to simplify the CI setup (so I could test more things locally), but also to be able to edit quickly the web build.
A few examples:
./run export:windows
will build the windows export./run web:watch
will watch the directory for changes, and will recompile the web app on save, and copy the static files when you save those./run web:debug
will export a debug web build, start web-server, and watch files for changes./run clean
will remove the build directory./run help
will list all commands, and more info can be obtained from each, for example: ./run web:debug help
The CI will autostart from release
and staging
. The behavior is as follows:
release
, or staging
)github pages
, in a subdirectory named like the branchThe important part to understand is that while the CI auto-triggers from release
and staging
, it can be manually triggered from any branch. That means if we make a special build that we call special
, and run the CI on that, we'll get files tagged special
on itch, and a subdirectory gdquest.github.io/learn-gdscript/special
. This should allow for easily distributing experiments
See https://github.com/GDQuest/learn-gdscript/runs/5215629805?check_suite_focus=true for the latest attempt. Error message:
Right now, an outdated version of the app is live on staging.