-
-
Notifications
You must be signed in to change notification settings - Fork 3
How to set up custom Greenworks Prebuilds using Travis CLI
TheRealDannyyy edited this page Feb 13, 2020
·
16 revisions
- GitHub Desktop Software
- Notepad++ Software
- Travis CI Account
- GitHub Fork Prebuilds (Keep the name!)
- GitHub Fork Greenworks (Any name!)
- Clone your Prebuilds Fork locally using GitHub Desktop
-
Switch to the
master
branch if required - Open the .travis.yml file using Notepad++
-
Edit line 63 and replace the URL with your custom Greenworks Fork URL
(Example:- git clone https://github.com/TheRealDannyyy/Greenworks-Experimental greenworks
) - Open the following files in Notepad++:
- Readme.md [\greenworks-prebuilds]
- Package.json [\greenworks-prebuilds]
- For each file in Notepad++:
Search > Replace... > Find what: "electronforconstruct" > Replace with: #Your Account Name# (e.g. TheRealDannyyy) > Replace All - Save changes for each file (.travis.yml; Readme.md; Package.json)
- OPTIONAL: Update Steamworks files inside the SDK.zip, if required
- Activate GitHub Apps Integration for Travis CI
- Select your GitHub Greenworks Prebuilds Fork Repository
- Navigate to: More Options... > Settings... > Environment Variables
-
Generate a new token on GitHub with the name
GH_TOKEN
- Copy the given token value
-
Add new Environment Variable on Travis CI with the name
GH_TOKEN
and the given token as the value -
Add another Environment Variable with the name
ZIP_PASSWORD
and the requested password as a value
- Go to GitHub desktop and commit + push the file changes
- Travis CI will now build your prebuilds
- Navigate to: More Options... > Settings... > Cron Jobs
- Select your branch, interval and always run (this will automatically build the prebuild files)