GitHub Actions

Highlighted
Shopify Partner
5 0 6

Hi,

 

I've created a Github Actions to deploy Theme using Theme Kit : https://github.com/pgrimaud/actions/tree/master/shopify.

 

Is someone using GitHub as VCS to store its theme?

 

Feedback is welcome.

 

Thanks

2 Likes
Highlighted
Shopify Partner
5 0 6
Highlighted
Tourist
5 0 1

I tried implementing this yesterday, but the action is failing every time. Not sure if I'm doing it right, but I'd really like to get it to work.

0 Likes
Highlighted
Shopify Partner
5 0 6

@LucasFrazier wrote:

I tried implementing this yesterday, but the action is failing every time. Not sure if I'm doing it right, but I'd really like to get it to work.


Hi, could you show me your failing logs from GitHub Actions?

1 Like
Highlighted
Tourist
5 0 1

@pgrimaud wrote:

@LucasFrazier wrote:

I tried implementing this yesterday, but the action is failing every time. Not sure if I'm doing it right, but I'd really like to get it to work.


Hi, could you show me your failing logs from GitHub Actions?


Screen Shot 2020-06-19 at 9.55.58 AM.png

0 Likes
Highlighted
Shopify Partner
5 0 6

Could you paste the content of your workflow file (.yml)?

Did you set secret vars?

1 Like
Highlighted
Tourist
5 0 1

@pgrimaud wrote:

Could you paste the content of your workflow file (.yml)?

Did you set secret vars?


Screen Shot 2020-06-20 at 9.18.10 AM.pngvars are setvars are set

0 Likes
Highlighted
Tourist
5 0 1

Seems like maybe my path is wrong? I think I used / and not ./, so I'm going to try that in the meantime

1 Like
Highlighted
Shopify Partner
5 0 6

Yes, you should use  ./ because GitHub actions execute actions into a workspace folder : /github/workspace/.

If you need more detail about configuration, you could take a look at this repository : https://github.com/freyum/shopify-workflow-poc.

1 Like
Highlighted
Tourist
5 0 1

@pgrimaud wrote:

Yes, you should use  ./ because GitHub actions execute actions into a workspace folder : /github/workspace/.

If you need more detail about configuration, you could take a look at this repository : https://github.com/freyum/shopify-workflow-poc.


Turns out this was my issue. Now it’s working as intended. Thanks for helping me debug, and thanks for creating the action!

0 Likes