Skip to content

Instantly share code, notes, and snippets.

@GuillaumeFalourd
Last active July 1, 2021 19:28
Show Gist options
  • Save GuillaumeFalourd/8c59d10e7dd8fe395f725ab60595507c to your computer and use it in GitHub Desktop.
Save GuillaumeFalourd/8c59d10e7dd8fe395f725ab60595507c to your computer and use it in GitHub Desktop.
Execution of a Ritchie formula directly through command lines
name: Ritchie Formula Demo
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Golang Version
uses: actions/setup-go@v2
with:
go-version: '1.16.0'
- name: Ritchie Installation & Initialization
run: |
curl -fsSL https://commons-repo.ritchiecli.io/install.sh | bash
rit init --sendMetrics="no" --addCommons="no" --runType="local"
- name: Ritchie Formula Hello World (Golang) Execution
run: |
rit add repo --provider="Github" --name="demo" --repoUrl="https://github.com/ZupIT/ritchie-formulas-demo" --priority=1
rit demo hello-world --rit_input_text="Dennis" --rit_input_boolean=true --rit_input_list="everything" --rit_input_password="Ritchie"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment