mirror of
https://github.com/peter-evans/dockerhub-description.git
synced 2024-11-25 13:39:33 +01:00
Update workflow
This commit is contained in:
parent
f2b0643b95
commit
cd1a929ab8
1 changed files with 8 additions and 1 deletions
9
.github/workflows/dockerhub-description.yml
vendored
9
.github/workflows/dockerhub-description.yml
vendored
|
@ -12,10 +12,17 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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: |
|
run: |
|
||||||
mkdir -p some/path
|
mkdir -p some/path
|
||||||
mv README.md some/path/TEST.md
|
mv README.md some/path/TEST.md
|
||||||
|
|
||||||
- name: Docker Hub Description
|
- name: Docker Hub Description
|
||||||
uses: ./
|
uses: ./
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue