Consider using consul kv put directrly from a self-hosted runner instead.
A GitHub Action that finds all configuration files and uploads them to a Consul Server
Searches all subdirectories of location
using regex
expression. All matched files will be uploaded to the Consul Server at addr
.
- name: consul
uses: pennsignals/consul_configs_submit_action@main
with:
addr: 'http://10.146.0.5:8500/v1/kv' # required
config: './deploy_config.yml' # required
env: 'staging'