From 45adacd5cddc89883eb895e8590195f6491a5cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20Sch=C3=A4fer?= Date: Sat, 15 Feb 2025 15:25:13 +0100 Subject: [PATCH 1/2] Use name and URL of actual production environment --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cdad2c55..5acc94a2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,8 +7,8 @@ jobs: runs-on: antville environment: - name: weblogs.at - url: https://weblogs.at + name: antville.org + url: https://antville.org steps: - name: Copy files to production server From 156db3ee986efd324b3e50577ec9beafd1107b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20Sch=C3=A4fer?= Date: Sat, 15 Feb 2025 15:25:36 +0100 Subject: [PATCH 2/2] Try Forgejo action to create a release --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b189f260..3716dddf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Release on: + workflow_dispatch: push: tags: - 'v*' @@ -22,6 +23,15 @@ jobs: - name: Build with Gradle run: ./gradlew assembleDist + - uses: actions/forgejo-release@v2 + with: + direction: upload + url: https://code.host.antville.org + token: ${{ github.token }} + release-dir: build/distributions + release-notes-assistant: true + verbose: true + - name: Create release # FIXME: Currently only outputs gh command; adapt for Forgejo run: |