ci: fix versionsapi workflow remove cmd

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-01-09 16:29:30 +01:00
parent 8643c791f0
commit 00ca87a7ec
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ jobs:
uses: ./.github/workflows/versionsapi.yml uses: ./.github/workflows/versionsapi.yml
secrets: inherit secrets: inherit
with: with:
command: rm command: remove
rm_all: true rm_all: true
dryrun: true dryrun: true
ref: ${{ github.event.ref }} ref: ${{ github.event.ref }}

View File

@ -11,7 +11,7 @@ on:
- add - add
- latest - latest
- list - list
- rm - remove
ref: ref:
description: --ref flag description: --ref flag
required: false required: false
@ -113,7 +113,7 @@ jobs:
echo "No authentication at cloud provider required." echo "No authentication at cloud provider required."
echo "auth=false" >> "$GITHUB_OUTPUT" echo "auth=false" >> "$GITHUB_OUTPUT"
;; ;;
rm) remove)
echo "Write access to S3 bucket required." echo "Write access to S3 bucket required."
echo "write=true" >> "$GITHUB_OUTPUT" echo "write=true" >> "$GITHUB_OUTPUT"
echo "Authentication at cloud provider required." echo "Authentication at cloud provider required."