Skip to content

Commit

Permalink
workflow mk1
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinL committed Jul 9, 2024
1 parent aa869d6 commit db90700
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/sync_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Sync Docs from splink

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
push:
branches:
- main

jobs:
sync_docs:
runs-on: ubuntu-latest

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

- name: Fetch splink repository
run: |
git clone --depth 1 --branch splink3 https://github.com/moj-analytical-services/splink.git splink
cp -r splink/docs/* splinkdocs/
rm -rf splink
- name: Commit and push changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "your-github-username"
git add .
git commit -m "Update docs from splink repository"
git push origin main

0 comments on commit db90700

Please sign in to comment.