mirror of
https://github.com/directus/directus.git
synced 2026-01-30 10:48:00 -05:00
* 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
26 lines
669 B
YAML
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
|