File: push.yml

package info (click to toggle)
node-graphql 16.8.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,376 kB
  • sloc: javascript: 1,492; sh: 20; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 780 bytes parent folder | download | duplicates (3)
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
name: Push
on: push
jobs:
  ci:
    uses: ./.github/workflows/ci.yml
  deploy-to-npm-branch:
    name: Deploy to `npm` branch
    needs: ci
    if: github.ref == 'refs/heads/main'
    uses: ./.github/workflows/deploy-artifact-as-branch.yml
    with:
      environment: npm-branch
      artifact_name: npmDist
      target_branch: npm
      commit_message: "Deploy ${{github.event.workflow_run.head_sha}} to 'npm' branch"

  deploy-to-deno-branch:
    name: Deploy to `deno` branch
    needs: ci
    if: github.ref == 'refs/heads/main'
    uses: ./.github/workflows/deploy-artifact-as-branch.yml
    with:
      environment: deno-branch
      artifact_name: denoDist
      target_branch: deno
      commit_message: "Deploy ${{github.event.workflow_run.head_sha}} to 'deno' branch"