From 3f6e0baa519e310b77fe0a078dbddf6eea81e081 Mon Sep 17 00:00:00 2001
From: Johannes Loher <johannes.loher@fg4f.de>
Date: Sat, 22 Feb 2025 20:50:52 +0100
Subject: [PATCH] ci: bump foundry-publish

---
 .woodpecker/publish.yaml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.woodpecker/publish.yaml b/.woodpecker/publish.yaml
index a82afd91..6f2152a8 100644
--- a/.woodpecker/publish.yaml
+++ b/.woodpecker/publish.yaml
@@ -99,16 +99,13 @@ steps:
       - forge_token
   publish-to-foundry-admin:
     group: publish
-    image: johannesloher/foundry-publish:v3.0.1
-    environment:
-      FVTT_DELETE_OBSOLETE_VERSIONS: "true"
+    image: johannesloher/foundry-publish:v4.0.0
     commands:
       - export FVTT_MANIFEST_PATH=${CI_REPO_NAME}/system.json
       - export FVTT_MANIFEST_URL=${CI_REPO_URL}/releases/download/${CI_COMMIT_TAG}/system.json
       - foundry-publish
     secrets:
       - fvtt_package_id
-      - fvtt_username
-      - fvtt_password
+      - fvtt_token
     when:
       <<: *is_latest_channel