Run Pipeline Task #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | ||
# 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
|