Skip to content

testing passing secrets to called workflows #50

testing passing secrets to called workflows

testing passing secrets to called workflows #50

Workflow file for this run

name: CI
on: push
jobs:
# lint:
# uses: ./.github/workflows/lint.yaml
# test:
# uses: ./.github/workflows/test.yaml
# deploy_production:
# if: contains(github.ref, 'master')
# needs: [lint, test]
# uses: ./.github/workflows/deploy-production.yaml
# deploy_dev:
# if: contains(github.ref, 'dev')
# needs: [lint, test]
# uses: ./.github/workflows/deploy-dev.yaml
# deploy_staging:
# if: contains(github.ref, 'staging')
# needs: [lint, test]
# uses: ./.github/workflows/deploy-staging.yaml
# this is to test a deployment script
deploy_test:
if: contains(github.ref, 'chore/github-actions')
#needs: [lint, test]
uses: ./.github/workflows/deploy-dev.yaml

Check failure on line 31 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yaml" -> "./.github/workflows/deploy-dev.yaml" (source branch with sha:0c53f6308765e5d77f8d5bd8e0a318b38a6f4de5) : Invalid type for `on`
with:
test-input: 'test'
secrets:
DEPLOYMENT_KEY_DEV: ${{ secrets.DEPLOYMENT_KEY_DEV }}
HEROKU_APP_NAME_DEV: ${{ secrets.HEROKU_APP_NAME_DEV }}