2021-08-03 00:55:50 +02:00
|
|
|
name: Docker Hub description
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master]
|
|
|
|
paths:
|
|
|
|
- docker/README.md
|
|
|
|
- .github/workflows/dockerhub-readme.yml
|
|
|
|
jobs:
|
|
|
|
dockerHubDescription:
|
2021-08-10 15:08:20 +02:00
|
|
|
if: |
|
2021-08-10 17:52:10 +02:00
|
|
|
(github.event_name == 'push' && github.repository == 'Bubka/2fauth') ||
|
2021-08-10 15:08:20 +02:00
|
|
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Bubka/2fauth' && github.actor != 'dependabot[bot]')
|
2021-08-03 00:55:50 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2.3.4
|
|
|
|
- name: Docker Hub Description
|
|
|
|
uses: peter-evans/dockerhub-description@v2.4.3
|
|
|
|
with:
|
|
|
|
username: 2fauth
|
|
|
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
|
|
|
repository: 2fauth/2fauth
|
|
|
|
short-description: A web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
|
2021-08-04 22:38:35 +02:00
|
|
|
readme-filepath: docker/README.md
|