forked from NomicFoundation/slang
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 1.18 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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:
# uses: "./.github/workflows/_jobs_github_pages.yml"
# if: "${{ github.repository == 'NomicFoundation/slang' }}" # skip running in forks
# needs: "ci"
# permissions:
# pages: "write" # to deploy to Pages
# id-token: "write" # to verify the deployment originates from an appropriate source
publish:
uses: "./.github/workflows/_jobs_publish.yml"
# if: "${{ github.repository == 'NomicFoundation/slang' }}" # skip running in forks
# needs: "ci"
# secrets: "inherit"
# permissions:
# contents: "write" # to create new branches and releases
# pull-requests: "write" # to create new pull requests for changesets