From 261eeb53467cbfe32e2532a328af4c4aba4c17ef Mon Sep 17 00:00:00 2001 From: kkalev Date: Sun, 26 Nov 2023 11:17:56 +0200 Subject: [PATCH] add readmesync action --- .github/workflows/readmesync.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/readmesync.yaml diff --git a/.github/workflows/readmesync.yaml b/.github/workflows/readmesync.yaml new file mode 100644 index 0000000..08c0e29 --- /dev/null +++ b/.github/workflows/readmesync.yaml @@ -0,0 +1,25 @@ +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/puppeteer + readme: README.md + description: true \ No newline at end of file