Skip to content

Workflow file for this run

name: 'Deploy Static Site'

Check failure on line 1 in .github/workflows/fake_deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/fake_deploy.yml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
on:
workflow_call:
target_environment:
description: Deploy where?
required: false
default: 'staging'
static_repo_ref:
description: Which branch or tag?
required: true
default: 'main'
type: 'string'
jobs:
deploy_static_site:
name: Deploy Static Site
runs-on: self-hosted
env:
TARGET: ${{ inputs.target_environment }}
REF: ${{ inputs.static_repo_ref }}
steps:
name: Print inputs
run: |
echo $TARGET
echo $REF