Skip to content

push-to-s3

push-to-s3 #1

Workflow file for this run

name: push-to-s3
on:
workflow_dispatch:
jobs:
get-runner:
name: Get a runner label to use for entire workflow
runs-on: [self-hosted, org-runner, sl-core]
outputs:
RUNNER: ${{ steps.name.outputs.runner }}
steps:
- id: name
run: echo "runner=$(printf ${{ runner.name }} | tail -c 20)" >> $GITHUB_OUTPUT
push-to-s3:
name: "Push Hugo Site To S3"
runs-on: ${{ needs.get-runner.outputs.runner }}
needs:
- get-runner
steps:
- name: "Push Hugo Site To S3"
shell: bash
run: echo "Hello World"
clean-runner:
uses: cisco-sbg/talos-releng-shared-workflows/.github/workflows/clean-runner.yml@main

Check failure on line 27 in .github/workflows/push-to-s3.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push-to-s3.yml

Invalid workflow file

error parsing called workflow ".github/workflows/push-to-s3.yml" -> "cisco-sbg/talos-releng-shared-workflows/.github/workflows/clean-runner.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
name: Clean runner
needs:
- get-runner
- push-to-s3
with:
runner: ${{ needs.get-runner.outputs.RUNNER }}