From af968950bd36e201d8ceff197dcabf085ba0ad83 Mon Sep 17 00:00:00 2001 From: Kristina Date: Sat, 16 May 2026 13:32:47 +0200 Subject: [PATCH] probando --- .gitea/workflows/ci.yaml | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 34ddcd7..bebd01c 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -1,34 +1,16 @@ -name: Release desde cmds +name: Test workflow on: push: - tags: - - 'v*' + branches: + - main jobs: - build-and-release: + test: runs-on: docker steps: - name: Checkout uses: actions/checkout@v4 - - name: Build - run: | - mkdir -p dist - echo "artefacto" > dist/app.txt - - - name: Create release - env: - FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }} - run: | - curl -X POST \ - -H "Authorization: token $FORGEJO_TOKEN" \ - -H "Content-Type: application/json" \ - "${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/releases" \ - -d "{ - \"tag_name\": \"${GITHUB_REF_NAME}\", - \"name\": \"${GITHUB_REF_NAME}\", - \"body\": \"Release automático\", - \"draft\": false, - \"prerelease\": false - }" \ No newline at end of file + - name: Hello + run: echo "Workflow funcionando" \ No newline at end of file