Skip to content

ci: run readme sync only on readme change #1229

ci: run readme sync only on readme change

ci: run readme sync only on readme change #1229

Workflow file for this run

name: Docker Hub Description
on:
push:
branches:
- main
files:
- README.md
- .github/workflows/readme-sync.yml
jobs:
sync-readme:
runs-on: ubuntu-22.04
if: ${{ github.repository == 'WeblateOrg/docker'}}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: weblate/weblate
short-description: ${{ github.event.repository.description }}