Skip to content

Create test .yml

Create test .yml #1

Workflow file for this run

name: CI
on:
push:
branches: [ "aitana" ]
pull_request:
branches: [ "aitana" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
env:
aitana_secret: ${{ secrets.TEST_SECRET }}
steps:
- uses: actions/checkout@v4
- name: Run a one-line script
run: echo Hello, Aitana!
- if: ${{ env.aitana_secret != '' }}
run: echo 'the secret has a value set $env.aitana_secret '
- if: ${{ env.aitana_secret == '' }}
run: echo ' the secret does not have a value set.'