Revert to snapshot (#2112)
* Use next tag for saleor cli * Use dash instead of underscore for backup restore Co-authored-by: Bartłomiej Wiaduch <tukan2can@gmail.com>
This commit is contained in:
parent
6098bd293f
commit
d48dcb87ab
1 changed files with 3 additions and 3 deletions
6
.github/workflows/tests-nightly.yml
vendored
6
.github/workflows/tests-nightly.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
- name: Install saleor cli
|
||||
id: install-saleor-cli
|
||||
run: npm i -g saleor-cli
|
||||
run: npm i -g saleor-cli@next
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
|
@ -68,11 +68,11 @@ jobs:
|
|||
env:
|
||||
ACCESS_TOKEN: ${{ secrets.CLOUD_ACCESS_TOKEN }}
|
||||
run: echo '{"token":"Token ${{ secrets.CLOUD_ACCESS_TOKEN }}","telemetry":"false","organization_slug":"qa","organization_name":"QA","environment_id":"lHECN87U"}' > ~/.config/saleor.json
|
||||
|
||||
|
||||
- name: revert snapshot
|
||||
env:
|
||||
SALEOR_CLI_ENV: staging
|
||||
run: npx saleor backup restore MbdG5UXd --skip_webhooks_update
|
||||
run: npx saleor backup restore MbdG5UXd --skip-webhooks-update
|
||||
|
||||
- name: Notify Slack
|
||||
if: ${{ failure() }}
|
||||
|
|
Loading…
Reference in a new issue