-
I use the configuration for Gatsby from marketplace. The build is successful if the web-app project is located in root of directory (in root of github-branch). Example of working structure. Example of working minimal application on gh-pages. However, need to put web app in a separate app directory.Example required project structure. Question-how do rewrite github-actions config so that build takes place with this structure? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@omqmo , Do you mean you want to move files from the root directory of the repository to the " app" folder under the root directory of the repository? Have you tried using the cp command or mv command to move the files? Any misunderstanding, feel free to tell us. If they do not work, please share your repository and more details about what you want to do with us, so that we can provide you with further help and suggestions. |
Beta Was this translation helpful? Give feedback.
-
@brightran Added examples in main post. |
Beta Was this translation helpful? Give feedback.
-
@omqmo , Thanks for your reply and sharing your repository. On the command steps in the job, you can use working-directory keyword to specify the working directory of where to run the commands. And for the action steps, you just need to change the path as the relative path to the app directory. For example, you can try the below configurations:
|
Beta Was this translation helpful? Give feedback.
@omqmo ,
Thanks for your reply and sharing your repository.
On the command steps in the job, you can use working-directory keyword to specify the working directory of where to run the commands. And for the action steps, you just need to change the path as the relative path to the app directory.
For example, you can try the below configurations: