User Tools

Site Tools


forgejo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
forgejo [2025/03/28 07:59] ryanforgejo [2025/03/28 08:03] (current) – [Set up Forgerunner:] ryan
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/workflows/ called "deploy.yml" (or name it whatever you prefer) - Navigate to your repo either in browser or locally and create a new file under .forgejo/workflows/ called "deploy.yml" (or name it whatever you prefer)
Line 70: Line 72:
   git pull https://USER:PASSWORD@forge.melm.xyz/USERNAME/REPONAME   git pull https://USER:PASSWORD@forge.melm.xyz/USERNAME/REPONAME
      
 +Make sure your local repository is synced by pulling or pushing the changes. Now the script should automatically run on every push.
forgejo.1743148781.txt.gz · Last modified: by ryan