Skip to content

Create deploy_multiple.yml #1

Create deploy_multiple.yml

Create deploy_multiple.yml #1

name: Deploy CI/CD
on:
push:
tags:
- 'v*.*.*'
branches:
- 'main'
- 'environments'
workflow_dispatch:
jobs:
build:
runs-on: ubutntu-latest
strategy:
fail-fast: false
matrix:
environment: [ dev, sandbox ]
environment: ${{ matrix.environment }}
steps:
- uses: actions/checkout@v4
- name: Execute
run: |

Check failure on line 23 in .github/workflows/deploy_multiple.yml

View workflow run for this annotation

GitHub Actions / Deploy CI/CD

Invalid workflow file

The workflow is not valid. .github/workflows/deploy_multiple.yml (Line: 23, Col: 14): Unrecognized named-value: 'var'. Located at position 1 within expression: var.DATA
echo ${{ github.ref_type }}
echo ${{ github.ref_name }}
echo ${{ github.sha }}
echo ${{ var.DATA }}