Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
chore: adjust new preview deployment URL (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucmus authored Mar 10, 2020
1 parent fe155b2 commit c6510a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-preview-storefrontcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
- name: Deploy on Storefrontcloud.io
run: |
# remove when fix on cloud is done
curl -s -k https://${{ github.sha }}.shopware-pwa.storefrontcloud.io > /dev/null
curl -s -k https://${{ github.sha }}.shopware-pwa.preview.storefrontcloud.io > /dev/null
sleep 3
# /remove when fix on cloud is done
if curl -s -k https://${{ github.sha }}.shopware-pwa.storefrontcloud.io | grep -q '<html data-n-head-ssr'; then
if curl -s -k https://${{ github.sha }}.shopware-pwa.preview.storefrontcloud.io | grep -q '<html data-n-head-ssr'; then
echo "Instance updated"
# curl -s -X GET \
Expand All @@ -74,15 +74,15 @@ jobs:
uses: chrnorm/deployment-status@releases/v1
with:
token: "${{ github.token }}"
target_url: https://${{ github.sha }}.shopware-pwa.storefrontcloud.io
target_url: https://${{ github.sha }}.shopware-pwa.preview.storefrontcloud.io
state: "success"
description: Congratulations! The deploy is done.
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
- name: Comment PR
if: success()
uses: thollander/actions-comment-pull-request@master
with:
message: ':blue_heart: Shopware-PWA successfully deployed on https://${{ github.sha }}.shopware-pwa.storefrontcloud.io :ok_hand:'
message: ':blue_heart: Shopware-PWA successfully deployed on https://${{ github.sha }}.shopware-pwa.preview.storefrontcloud.io :ok_hand:'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update deployment status (failure)
if: failure()
Expand Down

0 comments on commit c6510a7

Please sign in to comment.