Skip to content

Commit

Permalink
Add action.yml metadata file
Browse files Browse the repository at this point in the history
  • Loading branch information
helen committed Nov 11, 2019
1 parent 72690bd commit 49683a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
13 changes: 1 addition & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
FROM debian:stable-slim

LABEL "com.github.actions.name"="WordPress Plugin Readme Update"
LABEL "com.github.actions.description"="Deploy readme and asset updates to the WordPress Plugin Repository"
LABEL "com.github.actions.icon"="upload-cloud"
LABEL "com.github.actions.color"="blue"

LABEL maintainer="Helen Hou-Sandí <[email protected]>"
LABEL version="1.2.1"
LABEL repository="http://github.com/helen/action-wordpress-plugin-asset-update"

RUN apt-get update \
&& apt-get install -y subversion rsync git \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* \
&& git config --global user.email "[email protected]" \
&& git config --global user.name "10upbot on GitHub"
&& rm -rf /var/lib/apt/lists/*

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: 'WordPress Plugin Readme/Assets Update'
description: 'Deploy readme and asset updates to the WordPress Plugin Repository'
author: '10up'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'upload-cloud'
color: 'blue'

0 comments on commit 49683a6

Please sign in to comment.