Skip to content

Run Pipeline Task

Run Pipeline Task #3

Workflow file for this run

#
# Providence
# Github Actions Workflow
# Pipeline Task Runner
#
name: "Run Pipeline Task"
on:
workflow_dispatch:
inputs:
image:
description: Fully qualified container image tag to run.
required: true
type: string
args:
description: List of arguments to pass to the container as JSON.
default: "[]"
type: string
env:
description: Map of environment variables in the JSON to set in the container as JSON
default: "{}"
type: string
env:
SIMPLYGO_SRC_USERNAME: "${{ secrets.SIMPLYGO_SRC_USERNAME }}"
SIMPLYGO_SRC_PASSWORD: "${{ secrets.SIMPLYGO_SRC_PASSWORD }}"
RCLONE_B2_ACCOUNT: "${{ secrets.RCLONE_B2_ACCOUNT }}"
RCLONE_B2_KEY: "${{ secrets.RCLONE_B2_KEY }}"
RCLONE_B2_HARD_DELETE: true
jobs:
scrape-simplygo:
runs-on: ubuntu-latest
container:
image: "${{ inputs.image }}"
env: ${{ fromJSON(inputs.env) }}
steps:
- run: ${{ join(fromJSON(inputs.args), " ") }}

Check failure on line 37 in .github/workflows/task.yaml

View workflow run for this annotation

GitHub Actions / Run Pipeline Task

Invalid workflow file

The workflow is not valid. .github/workflows/task.yaml (Line: 37, Col: 14): Unexpected symbol: '"'. Located at position 29 within expression: join(fromJSON(inputs.args), " ")