mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 03:13:28 +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...
|
||||
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`
|
||||
3. Paste the below file into your repository's root `/.github/workflows` directory
|
||||
2. Paste the below file into your repository's root `/.github/workflows` directory
|
||||
|
||||
```yaml
|
||||
# File: .github/workflows/sync.yml
|
||||
@@ -34,14 +33,12 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: gh repo sync <OWNER>/<FORK> # Replace the placeholders within the < >
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
- uses: gautamkrishnar/keepalive-workflow@v1
|
||||
```
|
||||
|
||||
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.
|
||||
6. Commit and push the changes to your repository.
|
||||
3. Replace the `<OWNER>` placeholder with the GitHub username of the account that owns the fork.
|
||||
4. Replace the `<FORK>` placeholder with the repository name of your fork.
|
||||
5. Commit and push the changes to your repository.
|
||||
|
||||
Your instance should now be automatically updated to the latest version.
|
||||
|
||||
|
Reference in New Issue
Block a user