diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index b3bacfd..b912c46 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -8,6 +8,28 @@ jobs: self-test: runs-on: ubuntu-latest steps: + - name: Test local + env: + LOCAL: ${{ secrets.TEST_SECRET }} + run: | + if [ -z "$LOCAL" ]; then + echo "EMPTY" + exit 1 + fi + + echo "PRESENT" + echo "length=${#LOCAL}" + - name: Test org + env: + GLOBAL: ${{ secrets.BOT_SECRET }} + run: | + if [ -z "$GLOBAL" ]; then + echo "EMPTY" + exit 1 + fi + + echo "PRESENT" + echo "length=${#GLOBAL}" - run: touch text.txt - uses: https://source.vague.tech/open-vague/ci-actions/publish@feature/1-publish with: