Skip to content

add remainder of basic commands #42

add remainder of basic commands

add remainder of basic commands #42

Workflow file for this run

name: CI
on:
pull_request:
types: [opened]
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: Khan/pull-request-comment-trigger@master
id: check
with:
trigger: '@generate'
reaction: rocket
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
- uses: actions/checkout@master
with:
ref: ${{ github.head_ref }}
- name: Dump GitHub context
id: github_context_step
run: echo '${{ toJSON(github) }}'
- name: Install modules and run it
run: yarn
if: steps.check.outputs.triggered == 'true'
- name: Generate Curriculum
run: yarn generate:curriculum:ci
if: steps.check.outputs.triggered == 'true'
env:
GITHUB_HEAD_REF: '${{ github.head_ref }}'
GITHUB_ACTOR: '${{ github.actor }}'