Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Update build-test-and-deploy.yml #5

Update build-test-and-deploy.yml

Update build-test-and-deploy.yml #5

name: Pipeline
on:
push:
branches:
- main
workflow_dispatch:
jobs:
test_environment_secret1:
runs-on: ubuntu-latest
environment: test1
steps:
- name: Run tests
run: |
echo "user=${{ secret.user }}" | tee -a "$GITHUB_OUTPUT"
test_environment_secret1:

Check failure on line 20 in .github/workflows/build-test-and-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-test-and-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
runs-on: ubuntu-latest
environment: test2
steps:
- name: Run tests
run: |
echo "user=${{ secret.user }}" | tee -a "$GITHUB_OUTPUT"