From 3ba054df505274318c83078162280e607ab71545 Mon Sep 17 00:00:00 2001 From: Spencer Young Date: Fri, 10 May 2019 21:45:01 -0700 Subject: [PATCH] update readme and icon --- Dockerfile | 6 +++--- README.md | 13 +++++++++++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 76f8b87..2b7981d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM alpine/git:latest -LABEL "com.github.actions.name"="Mirror Action" +LABEL "com.github.actions.name"="Mirror Repository" LABEL "com.github.actions.description"="Mirror git repositories" -LABEL "com.github.actions.icon"="code" -LABEL "com.github.actions.color"="white" +LABEL "com.github.actions.icon"="git-commit" +LABEL "com.github.actions.color"="green" LABEL "repository"="https://github.com/spyoungtech/mirror-action" LABEL "homepage"="https://github.com/spyoungtech/mirror-action" diff --git a/README.md b/README.md index 136106f..5c63029 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,9 @@ A GitHub Action for mirroring your repository to a different remote repository This project is [mirrored on GitLab](https://gitlab.com/spyoungtech/mirror-action) -## Example workflow +## Example workflows + +### Mirror a repository with username/password over HTTPS ```workflow workflow "Mirror Workflow" { @@ -19,4 +21,11 @@ action "Mirror Action" { GIT_USERNAME = "spyoungtech" } } -``` \ No newline at end of file +``` + +Be sure to set the `GIT_PASSWORD` secret in the Actions editor. + +### Mirror a repository using SSH + +*Coming soon* +