/github-actions

A collection of GitHub actions used at Railsware

Primary LanguageJavaScriptMIT LicenseMIT

Railsware Github Actions

A collection of GitHub actions used at Railsware


running action on local machine

  • yarn run_action --action name --param-1 value1 --param-2 value2 --param-3 value
    • name action name to run
    • param-x - param like they specified in action.yml
  • i.e when using credential profiles it could be like following:
  ACTIONS_RUNNER_DEBUG=true AWS_SDK_LOAD_CONFIG=1 AWS_PROFILE=my-work-profile AWS_REGION=us-east-1 yarn run_action \
    --action run-ecs-task \
    --cluster my-cluster \
    --service my-service \
    --container my-container \
    --command 'echo "Hello World"' \
    --task-definition 'my_task_definition_arn' \
    --wait-for-completion true \
    --show-raw-output false

Railsware