1 year ago

#388430

test-img

beedrill

Github Action how to deal with standalone config file

We are using Github Action to deploy our code. On push, the source code will be pushed and we were able to build the code and deploy successfully if the config file is also tracked by the repository. However, we are encountering a problem with a config file in .gitignore.

Our app has different versions, controlled by this config file, and also this file is different from testing to production. Therefore, this file is standalone and not tracked by the git repository. However, for Github actions to build the project correctly, this file is necessary and has to be placed on a certain path of the project, e.g., /configs/env_configs.json.

This seems like a very common use case but I find very little information in Github action's document.

Is there a good way to work this out?

github-actions

github-actions-runners

0 Answers

Your Answer

Accepted video resources