forked from subhamX/overleaf_sync_with_git
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
32 lines (27 loc) · 900 Bytes
/
action.yml
File metadata and controls
32 lines (27 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# action.yml
name: "Overleaf Sync with Git"
branding:
icon: 'align-center'
color: 'yellow'
description: "🤖 A GitHub action to take backups from OverLeaf which is an Online LaTeX Editor."
inputs:
OVERLEAF_COOKIE:
description: "Active Cookie of overleaf account"
required: true
OVERLEAF_COOKIE_KEY:
description: "The key of the cookie, default is overleaf_session2"
default: "overleaf_session2"
OVERLEAF_PROJECT_ID: # id of input
description: "Id of the project you want the bot to take automatic snapshot"
required: true
OVERLEAF_HOST:
description: "Hostname of your Overleaf Instance, default is www.overleaf.com"
default: "www.overleaf.com"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.OVERLEAF_COOKIE }}
- ${{ inputs.OVERLEAF_COOKIE_KEY }}
- ${{ inputs.OVERLEAF_PROJECT_ID }}
- ${{ inputs.OVERLEAF_HOST }}