mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 11:13:27 +00:00
Fix the action and give my boi Toon credit
This commit is contained in:
@@ -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 <OWNER>/<FORK>
|
||||
- run: gh repo sync <OWNER>/<FORK> # 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 `<OWNER>` placeholder with the GitHub username of the account that owns the fork.
|
||||
5. Replace the `<FORK>` 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
|
||||
|
Reference in New Issue
Block a user