forked from subhamX/overleaf_sync_with_git
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
28 lines (23 loc) · 779 Bytes
/
action.yml
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
# action.yml
name: "sharelatex Sync with Git"
branding:
icon: 'align-center'
color: 'yellow'
description: "🤖 A GitHub action to take backups from sharelatex which is an Online LaTeX Editor."
inputs:
SHARELATEX_COOKIE: # id of input
description: "Active Cookie of sharelatex account"
required: true
SHARELATEX_PROJECT_ID: # id of input
description: "Id of the project you want the bot to take automatic snapshot"
required: true
SHARELATEX_HOST:
description: "Hostname of your sharelatex Instance, default is sharelatex.cstcloud.cn"
default: "sharelatex.cstcloud.cn"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.SHARELATEX_COOKIE }}
- ${{ inputs.SHARELATEX_PROJECT_ID }}
- ${{ inputs.SHARELATEX_HOST }}