Skip to content

Add content from https://github.com/graphql/graphql.github.io/pull/1782 #611

Add content from https://github.com/graphql/graphql.github.io/pull/1782

Add content from https://github.com/graphql/graphql.github.io/pull/1782 #611

Workflow file for this run

name: Push
on: push
jobs:
ci:
uses: ./.github/workflows/ci.yml
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
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"