Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To run the deploy actions from different directory? #10

Open
OlegGulevskyy opened this issue Oct 8, 2021 · 1 comment
Open

To run the deploy actions from different directory? #10

OlegGulevskyy opened this issue Oct 8, 2021 · 1 comment
Assignees

Comments

@OlegGulevskyy
Copy link

Hi,
Is it possible to run this action from a different directory? My "assets" and manifest files and folders are stored in "dist" folder, where the build is building into as well.
However the github action seems to be expecting everything to be in the root directory. This cannot work for me because I have src folder with all of the files.

Thanks

@verschoren
Copy link
Owner

This is certainly possible.
You can specify a build source by appending the path to the create and update commands in entrypoint.sh
See this Zendesk article

zat update

Would becomezat update --path=./dist/

zat create

Would becomezat create --path=./dist/

Hope this helps!

@verschoren verschoren self-assigned this Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants