The app_production.yml file will be triggered when I push to production branch. yml files: app_production.yml and app_development.yml.(You can choose any name for these files) I only want to configure github actions for app and want two workflows for two branches. github/workflows directory and for each workflow you have a. Github workflows are stored in the root of your project inside. Inside Github website, select your project then you can find the Actions tab.Ĭlick on it, it might suggest some workflows based on your project's language, and you can search or create one as well.įor me, it suggested Dart and if you press the configure it will create a template for you.Īll it does is that it creates the files and gives you a template, but we will do it ourself. But I only want to trigger Github actions for app and not for docs or server.Īlso I might have different set of tests and workflows for server later and for docs I want to run some commands to deploy the documentation.įirst we need to config github actions. So as you can see I cover server and docs of the project in one working directory. I have a Flutter app inside app directory and the backend of the app is developed inside the server directory and I decided to have a documentation for it inside docs directory. OK first thing first, Let's see how is my working directory: Since I was/am completely new to CircleCI, I had a hard time to find a way to do this, so decided to share it in this blog post. I have a project and have two branches/flavours: production and development.įor both of them I want to use Github actions to trigger some tests and code checking whenever I push to the branches.īut whenever I create a release out of the production, I want to do some other stuff, for example in my case I want to deploy my app project to app stores. What I was looking for was a way to use Github actions and CircleCI to deploy my projects. Three days ago, I decided to use CircleCI as a CI/CD tool to deploy my projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |