Files
directus/.github/workflows/sync-dockerhub-readme.yml
Pascal Jufer ae1987a359 Revise GitHub workflows (#9011)
* Fix check for changed files & reformat workflows

* Test performance of paths-filter action

* Revise workflows

* Better wording

* Fix naming of "Pre-Check"

* Point out values

* Abreviate to make it look cleaner in report
2021-10-25 11:22:06 -04:00

26 lines
669 B
YAML

name: Sync Readme to Docker Hub
on:
push:
branches:
- main
# Ensures this workflow only runs when the readme.md or workflow file itself changes
paths:
- readme.md
- .github/workflows/sync-dockerhub-readme.yml
jobs:
sync-dockerhub-readme:
name: Sync Readme to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Sync Readme to Docker Hub
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
readme-filepath: ./readme.md