Skip to content

Commit

Permalink
Sync Wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
yihong1120 committed Jul 31, 2024
1 parent 2c0b480 commit 60eab7e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sync_wiki.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync Wiki

on:
schedule:
- cron: '0 * * * *' # Execute every hour
workflow_dispatch: # Execute manually

jobs:
sync-wiki:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Sync Wiki from mutable.ai
run: |
git clone https://github.com/yihong1120/Construction-Hazard-Detection.wiki.git
cd Construction-Hazard-Detection.wiki
curl -L https://wiki.mutable.ai/yihong1120/Construction-Hazard-Detection -o mutable_wiki.zip
unzip -o mutable_wiki.zip -d .
git add .
git commit -m "Update Wiki from mutable.ai"
git push

0 comments on commit 60eab7e

Please sign in to comment.