GitHub Actions 1 · Reuse and deploy

Call a reusable workflow

Run a reusable workflow from a job.

jobs:
  deploy:
    uses: ./.github/workflows/deploy.yml
    with:
      environment: staging
    secrets: inherit

Official GitHub Actions 1 documentation

More reuse and deploy commands

All reuse and deploy commands · GitHub Actions 1 cheatsheet

Was this page helpful?