diff --git a/.gitea/workflows/second.yaml b/.gitea/workflows/second.yaml index 15638b9..a3ed0ae 100644 --- a/.gitea/workflows/second.yaml +++ b/.gitea/workflows/second.yaml @@ -4,5 +4,8 @@ jobs: print-variables_asd: runs-on: ubuntu-latest steps: - - run: echo ${{secrets.SECRET1}} - - run: echo ${{variables.VARIABLE1}} + - run: + if secrets.SECRET1; then + echo 'secret is here' + exit 0 + - run: echo ${{vars.VARIABLE1}}