forgejo
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| forgejo [2025/03/28 07:57] – ryan | forgejo [2025/03/28 08:03] (current) – [Set up Forgerunner:] ryan | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ====Set up Forgerunner: | ====Set up Forgerunner: | ||
| - | - Copy and paste the following commands: | + | - Copy and paste the following commands |
| Line 34: | Line 34: | ||
| - Follow the prompts. Enter your forgejo url and runner token from YourRepo -> Settings -> Actions -> Runners -> Create new runner | - Follow the prompts. Enter your forgejo url and runner token from YourRepo -> Settings -> Actions -> Runners -> Create new runner | ||
| + | |||
| + | - Check the runners list in your repository. It should show up as inactive. | ||
| - Navigate to your repo either in browser or locally and create a new file under .forgejo/ | - Navigate to your repo either in browser or locally and create a new file under .forgejo/ | ||
| Line 65: | Line 67: | ||
| Make sure to create matching secrets or adjust the variables accordingly. | Make sure to create matching secrets or adjust the variables accordingly. | ||
| - | - Testing required: by commenting out the line "on: [push]" | + | - Testing required: by commenting out the line "on: [push]" |
| - Under " | - Under " | ||
| git pull https:// | git pull https:// | ||
| | | ||
| + | Make sure your local repository is synced by pulling or pushing the changes. Now the script should automatically run on every push. | ||
forgejo.1743148658.txt.gz · Last modified: by ryan