CICD_examples
Форк от gitverse_tutorials/CICD_examples
10 строк · 274.0 Байт
1name: Демо использования секрета в CI/CD
2on: [push]
3jobs:
4build-test:
5name: Build & Test
6runs-on: ubuntu-latest
7steps:
8- if: ${{ secrets.SECRET == 'secret-word' }}
9name: Check if secret is correct
10run: echo "true"