We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59ac70c + 7963282 commit a43d39bCopy full SHA for a43d39b
.github/workflows/sync_overleaf.yml
@@ -0,0 +1,23 @@
1
+on:
2
+ schedule:
3
+ - cron: "*/5 * * * *"
4
+ workflow_dispatch:
5
+
6
+name: "Sync overleaf"
7
+jobs:
8
+ sync:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Sync overleaf
13
+ run: |
14
+ git remote add overleaf https://git:${OVERLEAF_TOKEN}@git.overleaf.com/65df171af9ff7989580f017d
15
+ git remote add origin_token https://git:${GITHUB_TOKEN}@github.com/columnflow/demo_documentation.git
16
17
+ git fetch overleaf
18
+ git pull overleaf master
19
+ git push origin_token HEAD:sync_overleaf
20
21
+ env:
22
+ OVERLEAF_TOKEN: ${{ secrets.OVERLEAF_TOKEN }}
23
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments