mirror of
https://github.com/p-stream/docs.git
synced 2026-01-11 20:10:34 +00:00
Fix the action and give my boi Toon credit
This commit is contained in:
parent
f18a2d3cbb
commit
f51f91c88a
1 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue