Skip to content

update readme workflow #1

update readme workflow

update readme workflow #1

Workflow file for this run

name: Update Docker Hub README everytime it changes on master
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
DOCKER_REPOSITORY: reddcoincore
on:
push:
branches: [ 'master' ]
paths:
- README.md
- '.github/workflows/update-readme.yml'
jobs:
sync:
name: Update README to Docker Hub
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Setup Environment
run: echo ::set-env name=SLUG::"$(echo "$DOCKER_REPOSITORY/$APP")"
- name: Sync README.md and Description to Docker Hub
uses: meeDamian/[email protected]
with:
user: ${{ secrets.DOCKER_USER }}
pass: ${{ secrets.DOCKER_PASS }}
slug: ${{ env.SLUG }}
description: true