Skip to content

Add sites from env var #9

Add sites from env var

Add sites from env var #9

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
pull_request:
branches: main
jobs:
deploy:
env:
SITES: ${{ vars.SITES || github.event.repository.name }}
strategy:
matrix:

Check failure on line 13 in .github/workflows/deco-deploy.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/deco-deploy.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
site: [${{ env.SITES }}]
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write # Needed for auth with Deno Deploy
contents: read # Needed to clone the repository
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Deco Deploy
uses: deco-cx/deploy@v0
with:
site: ${{ matrix.site }}