hub.yml 597 B

123456789101112131415161718192021222324
  1. name: Update
  2. on:
  3. push:
  4. branches:
  5. - master
  6. paths:
  7. - readme.md
  8. - README.md
  9. - .github/workflows/hub.yml
  10. jobs:
  11. dockerHubDescription:
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v4
  15. -
  16. name: Docker Hub Description
  17. uses: peter-evans/dockerhub-description@v3
  18. with:
  19. username: ${{ secrets.DOCKERHUB_USERNAME }}
  20. password: ${{ secrets.DOCKERHUB_TOKEN }}
  21. repository: ${{ secrets.DOCKERHUB_REPO }}
  22. short-description: ${{ github.event.repository.description }}
  23. readme-filepath: ./readme.md