Deployment Text Snippets
This PR has been deployed just now. Can you do a quick check to ensure that the changes are working as expected on production.
Production backup 2024-08-20
aurivo
Pre-release production sync on 2024-08-20 [TW24175085]
Release on 2024-08-20 [TW24175085]
https://teamwork.studioforty9.com/app/tasks/24175085
mccabes (playwright)
Pre-release production sync on 2024-08-20 [TW24333212]
Release on 2024-08-20 [TW224333212]
https://teamwork.studioforty9.com/app/tasks/24333212
*Thread:* Today's Deployments [2024-08-20]
Pre-Release:
Pre-Release:
Pre-Release:
Pre-Release:
Pre-Release:
Pre-Release:
Pre-Release:
Pre-Release:
Pre-Release:
DEPLOYMENT STEPS
- check deployments list in metrics
- go through each one and check if it has passed github actions and has been reviewed and approved
- also double check that go-ahead for deployment has been granted in the linked Teamwork task
- prepare by setting up PR titles and links (text snippets above)
- log into shopify backend and create duplicate theme, named specifically as production backup with a date
- create pre-release PR and get it sanity checked with team (main -> develop)
- merge pre-release
- merge feature branch
- create release PR (develop -> main) - DO NOT MERGE YET
- locally pull down latest develop and main
- ensure local repo working state is clean to make diffs easier
- click merge
- check shopify theme for errors (View Logs)
- pull down main to local
- pull down theme from shopify and compare for any discrepancies
- check website homepage to ensure that site loads as expected and that there are no relevant console errors
- ideally deployment was a success
-
- but if not figure out if there is a simple fix,
-
- OR roll back by publishing the duplicate theme we made earlier
- leave comment in teamwork
- add timing in teamwork (they average 10 minutes so that what i always put in)
- update task status in metrics
THEME PULL/PUSH COMMANDS
npx dotenv -- cross-var shopify theme pull --store %STORE%
npx dotenv -- cross-var shopify theme push --store %STORE%
npx dotenv -- cross-var shopify theme push --store %STORE% --unpublished
npx shopify theme pull --store store-name
npx shopify theme push --store store-name
npx shopify theme push --store store-name --unpublished