Skip to content

Commit

Permalink
chore: removed <% INTEGRATION %> to magento2
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodf committed Aug 13, 2021
1 parent ff8076f commit 4f41905
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .czrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"path": "cz-conventional-changelog",
"disableScopeLowerCase": false,
"disableSubjectLowerCase": false,
"maxHeaderWidth": 200,
"maxLineWidth": 200
"maxHeaderWidth": 100,
"maxLineWidth": 100
}
6 changes: 3 additions & 3 deletions .github/workflows/docs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Build and publish docker image
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: docs-storefrontcloud-io/v2-<% INTEGRATION %>:${{ steps.get_version.outputs.VERSION }}
name: docs-storefrontcloud-io/v2-magento2:${{ steps.get_version.outputs.VERSION }}
registry: registry.storefrontcloud.io
username: ${{ secrets.DOCS_CLOUD_USERNAME }}
password: ${{ secrets.DOCS_CLOUD_PASSWORD }}
Expand Down Expand Up @@ -50,9 +50,9 @@ jobs:
target_url: https://docs.europe-west1.gcp.storefrontcloud.io/v2
environment: production
initial_status: in_progress
- name: Deploy on docs.europe-west1.gcp.storefrontcloud.io/<% INTEGRATION %>
- name: Deploy on docs.europe-west1.gcp.storefrontcloud.io/magento2
run: |
if curl -s -H 'X-User-Id: ${{ secrets.DOCS_CLOUD_USERNAME }}' -H 'X-Api-Key: ${{ secrets.DOCS_CLOUD_PASSWORD }}' -H 'Content-Type: application/json' -X POST -d '{"code":"docs","region":"europe-west1.gcp","additionalApps":{"apps":[{"name":"docs-v2-<% INTEGRATION %>","tag":"${{ steps.get_version.outputs.VERSION }}","image":"registry.storefrontcloud.io/docs-storefrontcloud-io/v2-<% INTEGRATION %>","path":"/<% INTEGRATION %>","port":"80"}]}}' https://farmer.storefrontcloud.io/instances | grep -q '{"code":200,"result":"Instance updated!"}'; then
if curl -s -H 'X-User-Id: ${{ secrets.DOCS_CLOUD_USERNAME }}' -H 'X-Api-Key: ${{ secrets.DOCS_CLOUD_PASSWORD }}' -H 'Content-Type: application/json' -X POST -d '{"code":"docs","region":"europe-west1.gcp","additionalApps":{"apps":[{"name":"docs-v2-magento2","tag":"${{ steps.get_version.outputs.VERSION }}","image":"registry.storefrontcloud.io/docs-storefrontcloud-io/v2-magento2","path":"/magento2","port":"80"}]}}' https://farmer.storefrontcloud.io/instances | grep -q '{"code":200,"result":"Instance updated!"}'; then
echo "Instance updated"
else
echo "Something went wrong during the update process..."
Expand Down

0 comments on commit 4f41905

Please sign in to comment.