init stack
Some checks failed
Gitea Actions Demo / Create-Stack (push) Failing after 10s

This commit is contained in:
ThaMunsta
2025-03-16 14:43:05 -04:00
parent a2b1b45000
commit e86405d564

View File

@@ -1,10 +1,11 @@
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
tags:
- init-stack
on: [ push ]
# on:
# push:
# tags:
# - init-stack
jobs:
Create-Stack:
@@ -37,8 +38,8 @@ jobs:
STACK_FILE_CONTENT=$(echo "$(<stack.yml )")
# Prepare JSON payload
JSON_PAYLOAD=$(jq -n --arg stackFileContent "$STACK_FILE_CONTENT" \
'{stackFileContent: $stackFileContent}')
JSON_PAYLOAD=$(jq -n --arg stackFileContent "$STACK_FILE_CONTENT" --argjson name $STACK_NAME \
'{stackFileContent: $stackFileContent, name: $name}')
echo "About to push the following JSON payload:"
echo $JSON_PAYLOAD