-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (39 loc) · 1.04 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: 'iGEM WikiSync'
description: 'Automatically deploy your iGEM Wiki.'
author: 'Pranav Ballaney'
branding:
icon: 'upload-cloud'
color: 'green'
inputs:
team:
description: 'iGEM team name'
required: true
source:
description: 'Directory that contains your iGEM Wiki'
required: true
default: 'dist'
build:
description: 'Directory that stores your processed wiki before deployment'
required: true
default: 'build'
poster:
description: 'Run iGEM WikiSync in Poster mode'
required: false
default: 'False'
runs:
using: "composite"
steps:
- name: Install WikiSync
run: pip install igem-wikisync==1.1.0a3
shell: bash
- name: Deploy to iGEM
run: python ${{ github.action_path }}/wikisync.py
shell: bash
env:
WIKISYNC_TEAM: ${{ inputs.team }}
WIKISYNC_SOURCE: ${{ inputs.source }}
WIKISYNC_BUILD: ${{ inputs.build }}
WIKISYNC_POSTER: ${{ inputs.poster }}
- name: Print Upload Map
run: cat upload_map.yml
shell: bash