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