Forking Drasil & Deploying to your GitHub Pages - JacquesCarette/Drasil GitHub Wiki
Warning: Wiki should not be edited directly. Edit the files in the ./wiki/ folder instead and make a PR.
If you would like to fork Drasil and use our default method (GitHub Actions) of builds and deployments to GitHub Pages, you will need to:
- Enable "Actions" on your forked repository (under the Settings section of your repository).
- Create an API-ready GitHub account to act as the one performing updates to
gh-pages
. - Create a Personal Access Token for your GitHub account. Please use this picture as a guide for which permissions you will need to assign your PAT:
- Configure 3 repository secrets for your Drasil fork:
BOT_TOKEN
containing the personal access token of your API-ready account.BOT_EMAIL
containing the email of the bot (email has to be on the list of emails registered on the bots account).BOT_NAME
containing the name (e.g., "drasil-bot") of the bot.
- Test your bot and the Actions configuration on your fork: make and merge a PR, or create a commit with "[workflow-trigger]" anywhere in the commit message.