Skip to content

Create Calendar for Rav-Hen #1

Create Calendar for Rav-Hen

Create Calendar for Rav-Hen #1

name: Create Calendar for Rav-Hen
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
type: choice
default: info
options:
- info
- debug
branchName:
description: 'Rav Hen branch to search cinemas for'
required: true
type: choice
options:
- givataiim
- dizengoff
- "kiryat ono"
date:
description: 'Date to search cinemas for formatted as YYYY-MM-DD'
required: true
type: string
permissions:
contents: read
pages: write
id-token: write
env:
NODE_ENV: production
LOG_LEVEL: ${{ inputs.logLevel }}
jobs:
create:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: npm run build --workspace @sofash/cli
- run: npm run rav-hen:create --workspace @sofash/cli -- -b ${{ inputs.branchName }} -d ${{ inputs.date }}
- uses: actions/upload-pages-artifact@v3
with:
path: './packages/cli/data'
deploy:
runs-on: ubuntu-latest
needs:
- generate

Check failure on line 54 in .github/workflows/rav-hen-create.yml

View workflow run for this annotation

GitHub Actions / Create Calendar for Rav-Hen

Invalid workflow file

The workflow is not valid. .github/workflows/rav-hen-create.yml (Line: 54, Col: 9): Job 'deploy' depends on unknown job 'generate'.
steps:
- uses: actions/deploy-pages@v4