This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
Update fork #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update fork | |
on: | |
schedule: | |
- cron: '0 * * * *' # Runs every hour; change as needed. | |
workflow_dispatch: | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up the original repository as upstream | |
run: | | |
git remote add upstream https://github.com/LupineVault/lupinevault.github.io.git | |
git fetch upstream | |
- name: Sync with the upstream repository | |
run: | | |
git checkout main | |
git merge upstream/main | |
git push origin main |