include the test gitea secrets
Some checks failed
Test Gitea Secrets / print-secret (push) Failing after 2m41s

This commit is contained in:
DatTT127
2026-07-16 16:41:32 +07:00
parent 7af1553032
commit 2e439d2787
6 changed files with 372 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
name: Test Gitea Secrets
on: [push]
jobs:
print-secret:
runs-on: ubuntu-latest
steps:
- name: Print Secret
env:
# Map the Gitea secret to an environment variable
MY_TEST_SECRET: ${{ secrets.MODAL_KEY }}
run: |
# Use 'echo' to print the variable
# Gitea will automatically mask the actual value if it matches a secret
echo "The secret value is: $MY_TEST_SECRET"