From cd1a929ab8477c8af35101606c4be03994cf7189 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 9 Sep 2020 13:36:13 +0900 Subject: [PATCH] Update workflow --- .github/workflows/dockerhub-description.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub-description.yml b/.github/workflows/dockerhub-description.yml index 9f9815a..aa58371 100644 --- a/.github/workflows/dockerhub-description.yml +++ b/.github/workflows/dockerhub-description.yml @@ -12,10 +12,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Copy README.md to TEST.md + + - name: Modify readme for DockerHub + run: | + sed -i 's/# Docker Hub Description/# [Docker Hub Description](https:\/\/github.com\/peter-evans\/dockerhub-description)/' README.md + sed -i 's/(LICENSE)/(https:\/\/github.com\/peter-evans\/dockerhub-description\/blob\/master\/LICENSE)/' README.md + + - name: Test non-default filepath run: | mkdir -p some/path mv README.md some/path/TEST.md + - name: Docker Hub Description uses: ./ env: