Import grouping (#701) #520
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
name: "deploy" | |
on: | |
# Run using manual triggers from GitHub UI: | |
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow | |
workflow_dispatch: {} | |
# Run on pushes to 'main' branch': | |
push: | |
branches: | |
- "main" | |
# We publish multiple packages for each version. | |
# Wait for any deploys in-progress to complete, before starting a new one: | |
concurrency: | |
group: "${{ github.workflow }}" | |
cancel-in-progress: false | |
jobs: | |
ci: | |
uses: "./.github/workflows/_jobs_ci.yml" | |
github-pages: | |
needs: "ci" | |
if: "${{ github.repository == 'NomicFoundation/slang' }}" | |
uses: "./.github/workflows/_jobs_github_pages.yml" | |
publish: | |
needs: "ci" | |
if: "${{ github.repository == 'NomicFoundation/slang' }}" | |
uses: "./.github/workflows/_jobs_publish.yml" | |
secrets: "inherit" |