Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

ci: adjust workflows

Timothy Yin8a9257be674b
diff --git a/.github/workflows/github-releases-to-discord.yml b/.github/workflows/announce-releases.yml
similarity index 85%
rename from .github/workflows/github-releases-to-discord.yml
rename to .github/workflows/announce-releases.yml
index b6a729d7..45b820a7 100644
--- a/.github/workflows/github-releases-to-discord.yml
+++ b/.github/workflows/announce-releases.yml
@@ -1,9 +1,11 @@
+name: Announce GitHub Releases
+
on:
release:
- types: [published]
+ types: [published, created]
jobs:
- github-releases-to-discord:
+ announce-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -11,7 +13,6 @@ jobs:
- name: 📢 Announce Release in Discord
uses: SethCohen/github-releases-to-discord@v1
- if: github.ref_type == 'tag'
with:
webhook_url: ${{ secrets.DC_WEBHOOK_URL }}
color: "2105893"
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/publish-images.yml
similarity index 99%
rename from .github/workflows/docker-image.yml
rename to .github/workflows/publish-images.yml
index 277131c0..21d175c7 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/publish-images.yml
@@ -1,4 +1,4 @@
-name: Publish Docker Image (GHCR & Docker Hub)
+name: Publish Images
on:
push: