mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 07:03:27 +00:00
Compare commits
3 Commits
fb6531640d
...
e10040dc40
Author | SHA1 | Date | |
---|---|---|---|
|
e10040dc40 | ||
|
220b21a392 | ||
|
ebd53214fd |
@@ -12,8 +12,7 @@ You can also setup a scheduled workflow to automatically update your instance. T
|
|||||||
|
|
||||||
To do this, you will need to follow the guide below...
|
To do this, you will need to follow the guide below...
|
||||||
1. If you have not already, click [here](https://github.com/movie-web/movie-web/fork) to fork the movie-web Github repository.
|
1. If you have not already, click [here](https://github.com/movie-web/movie-web/fork) to fork the movie-web Github repository.
|
||||||
2. Create a [personal access token](https://docs.catalyst.zoho.com/en/tutorials/githubbot/java/generate-personal-access-token) and add to [repository's secret](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository) as `PAT`
|
2. Paste the below file into your repository's root `/.github/workflows` directory
|
||||||
3. Paste the below file into your repository's root `/.github/workflows` directory
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# File: .github/workflows/sync.yml
|
# File: .github/workflows/sync.yml
|
||||||
@@ -34,14 +33,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: gh repo sync <OWNER>/<FORK> # Replace the placeholders within the < >
|
- run: gh repo sync <OWNER>/<FORK> # Replace the placeholders within the < >
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ github.token }}
|
|
||||||
- uses: gautamkrishnar/keepalive-workflow@v1
|
- uses: gautamkrishnar/keepalive-workflow@v1
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Replace the `<OWNER>` placeholder with the GitHub username of the account that owns the fork.
|
3. 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.
|
4. Replace the `<FORK>` placeholder with the repository name of your fork.
|
||||||
6. Commit and push the changes to your repository.
|
5. Commit and push the changes to your repository.
|
||||||
|
|
||||||
Your instance should now be automatically updated to the latest version.
|
Your instance should now be automatically updated to the latest version.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user