Create your personal Arch Linux AUR packages repository, deploying via Travis CI to GitHub Releases or other providers.
- Fork this repository
- Create a new branch, e.g.:
git checkout -b deploy
(*) - Enable Travis CI on it
- Edit the config files
- Generate a personal access token with scope
public_repo
On Travis CI repository settings:
- Turn off
Build pushed pull requests
- Optionally turn on
Auto cancel branch builds
- Add a
GITHUB_TOKEN
environment variable with the personal access token code as value and set it as hidden - Add a
DEPLOY_BRANCH
environment variable with the name of yourdeploy
branch as value. (*) - Optionally, create a cron job
(*) These two simple steps was added to let the master
branch to remain
clean to permit possible future contributions if you'll need to propose
a new feature.
For user-specific instructions use the ones generated from the branch gh-pages
on your fork, which should be already available at
https://accountname.github.io/aur
, or check here for generic ones.