mirror of
https://github.com/jackyzha0/hugo-obsidian.git
synced 2024-06-14 11:42:35 +03:00
Update action files
This commit is contained in:
parent
20006073e3
commit
14cd925fb2
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
# File generated by github.com/posener/goaction. DO NOT EDIT.
|
||||
|
||||
|
||||
FROM golang:1.14.2-alpine3.11
|
||||
RUN apk add git
|
||||
|
||||
COPY . /home/src
|
||||
WORKDIR /home/src
|
||||
RUN go build -o /bin/action ./
|
||||
|
||||
ENTRYPOINT [ "/bin/action" ]
|
18
action.yml
Normal file
18
action.yml
Normal file
@ -0,0 +1,18 @@
|
||||
# File generated by github.com/posener/goaction. DO NOT EDIT.
|
||||
|
||||
name: goaction-example
|
||||
inputs:
|
||||
input:
|
||||
default: .
|
||||
description: "Input Directory"
|
||||
required: false
|
||||
output:
|
||||
default: .
|
||||
description: "Output Directory"
|
||||
required: false
|
||||
runs:
|
||||
using: docker
|
||||
image: Dockerfile
|
||||
args:
|
||||
- "-input=${{ inputs.input }}"
|
||||
- "-output=${{ inputs.output }}"
|
Loading…
Reference in New Issue
Block a user