hub.yml 653 B

1234567891011121314151617181920212223242526
  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. -
  15. name: Checkout repo
  16. uses: actions/checkout@v6
  17. -
  18. name: Docker Hub Description
  19. uses: peter-evans/dockerhub-description@v5
  20. with:
  21. username: ${{ secrets.DOCKERHUB_USERNAME }}
  22. password: ${{ secrets.DOCKERHUB_TOKEN }}
  23. repository: ${{ secrets.DOCKERHUB_REPO }}
  24. short-description: ${{ github.event.repository.description }}
  25. readme-filepath: ./readme.md