Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README on push to master (#5)
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Update Docker Hub README everytime it changes on master | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- README.md | ||
- '.github/workflows/update-readme.yml' | ||
|
||
jobs: | ||
sync: | ||
name: Update README to Docker Hub | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2.0.0 | ||
- name: Sync README.md and Description to Docker Hub using meeDamian action (my fork) | ||
uses: nolim1t/sync-readme@v1.0.6 | ||
with: | ||
user: ${{ secrets.DOCKER_USERNAME }} | ||
pass: ${{ secrets.DOCKER_PASSWORD }} | ||
description: true |