Sync README file between GitHub and Docker Hub #8
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
name: readme-sync | |
run-name: Sync README file between GitHub and Docker Hub | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "main" | |
paths: | |
- 'README.md' | |
jobs: | |
readme-sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Sync to Docker Hub | |
uses: meeDamian/sync-readme@v1.0.6 | |
with: | |
user: ${{ secrets.DOCKER_HUB_USERNAME }} | |
pass: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
slug: gunet/phpcas-tester | |
readme: README.md | |
description: true |