dockerhub-description/.github/workflows/dockerhub-description.yml

25 lines
692 B
YAML
Raw Normal View History

2019-08-12 07:18:06 +02:00
name: Update Docker Hub Description
2019-08-12 10:30:59 +02:00
on:
push:
branches:
2019-11-10 13:57:41 +01:00
- master
paths:
- README.md
- .github/workflows/dockerhub-description.yml
2019-08-12 07:18:06 +02:00
jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
2020-01-04 01:21:19 +01:00
- uses: actions/checkout@v2
2019-10-28 16:50:55 +01:00
- name: Copy README.md to TEST.md
run: |
mkdir -p some/path
2019-10-28 16:52:05 +01:00
mv README.md some/path/TEST.md
2019-10-28 16:50:55 +01:00
- name: Docker Hub Description
uses: ./
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
DOCKERHUB_REPOSITORY: peterevans/dockerhub-description
README_FILEPATH: ./some/path/TEST.md