Liu Song’s Projects


~/Projects/163-music-proxy

git clone https://code.lsong.org/163-music-proxy

Commit

Commit
8debae2c21ef0be149652be54e8f858ac38de43f
Author
a76yyyy <56478790+[email protected]>
Date
2022-12-14 15:51:54 +0800 +0800
Diffstat
 .github/workflows/DockerHub-Description.yml | 23 +++++++++++++++++++++++

Create DockerHub-Description.yml


diff --git a/.github/workflows/DockerHub-Description.yml b/.github/workflows/DockerHub-Description.yml
new file mode 100644
index 0000000000000000000000000000000000000000..86d00783ca8c6055fe0656ae96cb0438e94229b9
--- /dev/null
+++ b/.github/workflows/DockerHub-Description.yml
@@ -0,0 +1,23 @@
+name: Update Docker Hub Description
+on:
+  push:
+    branches:
+      - master
+    paths:
+      - README.MD
+      - .github/workflows/DockerHub-Description.yml
+jobs:
+  dockerHubDescription:
+    if: startsWith(github.repository, 'Binaryify/NeteaseCloudMusicApi')
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+
+    - name: Docker Hub Description
+      uses: peter-evans/dockerhub-description@v3
+      with:
+        username: ${{ secrets.DOCKER_USERNAME }}
+        password: ${{ secrets.DOCKER_PASSWORD }}
+        repository: binaryify/netease_cloud_music_api
+        short-description: ${{ github.event.repository.description }}
+        readme-filepath: ./README.md