Home

Github Actions

To get GRAPHQL_EDITOR_TOKEN variable run the token command

on:
  push:
    branches:
      - main
jobs:
  build:
    runs-on: ubuntu-latest
    environment: development
    steps:
      - uses: actions/[email protected]
      - uses: actions/[email protected]
        with:
          node-version: '14.x'
          registry-url: 'https://registry.npmjs.org'
      - run: npm install
      - run: >
          npx gecli deploy 
            -e SECRET_VALUE=$SECRET_VALUE 
            -e GRAPHQL_EDITOR_TOKEN=$GRAPHQL_EDITOR_TOKEN
        env:
          SECRET_VALUE: ${{secrets.SECRET_VALUE}}
          GRAPHQL_EDITOR_TOKEN: ${{secrets.GRAPHQL_EDITOR_TOKEN}}