From f51f91c88a92225ebfc7e12722ea6981ded504da Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Mon, 25 Mar 2024 21:55:43 -0400 Subject: [PATCH] Fix the action and give my boi Toon credit --- content/3.client/5.upgrade.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/content/3.client/5.upgrade.md b/content/3.client/5.upgrade.md index a5ccb81..a22c803 100644 --- a/content/3.client/5.upgrade.md +++ b/content/3.client/5.upgrade.md @@ -21,7 +21,7 @@ name: Sync fork on: schedule: - - cron: "*/5 * * * *" + - cron: "0 * * * *" # Run the job every hour push: branches: - "*" @@ -33,11 +33,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: gh repo sync / + - run: gh repo sync / # Replace the placeholders within the < > env: GH_TOKEN: ${{ github.token }} - uses: gautamkrishnar/keepalive-workflow@v1 ``` +::alert{type="info"} +Github action authored by [Toon](https://github.com/Toon-arch) +:: 4. Replace the `` placeholder with the GitHub username of the account that owns the fork. 5. Replace the `` placeholder with the repository name of your fork. @@ -47,7 +50,7 @@ Your instance should now be automatically updated to the latest version. ## Manual update -You can manually update by executing the following commands in the root directory of the repository you have created: +You can manually update by executing the following commands in the root directory of the repository you have created, you would have to do this every time a push occurs to stay up-to-date: ```bash git remote add movie-web https://github.com/movie-web/movie-web.git