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

Backup 'live' Shopify themes before deployment #54

Open
matthew-petrie opened this issue Jun 12, 2021 · 0 comments
Open

Backup 'live' Shopify themes before deployment #54

matthew-petrie opened this issue Jun 12, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@matthew-petrie
Copy link
Owner

By default, if a 'live' theme is being deployed to, back up the live theme so it is very quick to revert a deployment.

Backup procedure:

  • only allow upto 3 backup themes to exist in a Shopify store (Shopify has a limit on the number of themes). If there are already 3 backup themes (found via their name, format below) remove the oldest backup theme
  • duplicate the 'live' theme
  • name the theme in the format Live Theme Backup - DATE where DATE is the value of new Date().toUTCString() i.e. Sat, 12 Jun 2021 09:19:35 GMT (important the time is included so it is unique if there are multiple deployments within one day)
@matthew-petrie matthew-petrie added the enhancement New feature or request label Jun 12, 2021
@matthew-petrie matthew-petrie added the help wanted Extra attention is needed label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant