Skip to content

Commit

Permalink
ci: limit readme sync to certain files only
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 23, 2023
1 parent ac93317 commit 3b05c48
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/readme-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@ on:
push:
branches:
- main
files:
- README.md
- .github/workflows/readme-sync.yml
jobs:
sync-readme:
runs-on: ubuntu-22.04
if: ${{ github.repository == 'WeblateOrg/wlc' }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@v4
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
DOCKERHUB_REPOSITORY: weblate/wlc
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: weblate/weblate
short-description: ${{ github.event.repository.description }}

0 comments on commit 3b05c48

Please sign in to comment.