Skip to content

Commit

Permalink
Merge pull request #6987 from vuestorefront/docs/legacy-updates
Browse files Browse the repository at this point in the history
docs: legacy updates
  • Loading branch information
mattmaribojoc authored Nov 9, 2023
2 parents c318a67 + c225a32 commit 8b65763
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 26 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Docs
on:
push:
branches:
- main
- legacy
paths:
- packages/docs/**
workflow_dispatch:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
workdir: .
context: .
dockerfile: ./packages/docs/Dockerfile
buildoptions: "--compress"
buildoptions: '--compress'
deploy:
runs-on: ubuntu-latest
needs: build
Expand All @@ -51,7 +51,7 @@ jobs:
name: Create GitHub deployment
id: deployment
with:
token: "${{ github.token }}"
token: '${{ github.token }}'
target_url: https://docs.europe-west1.gcp.storefrontcloud.io/v2
environment: production
initial_status: in_progress
Expand All @@ -61,27 +61,27 @@ jobs:
with:
user-id: ${{ secrets.DOCS_CLOUD_USERNAME }}
api-key: ${{ secrets.DOCS_CLOUD_PASSWORD }}
name: "docs-v2"
tag: "${{ steps.get_version.outputs.VERSION }}"
image: "registry.storefrontcloud.io/docs-storefrontcloud-io/v2"
path: "/v2"
port: "80"
name: 'docs-v2'
tag: '${{ steps.get_version.outputs.VERSION }}'
image: 'registry.storefrontcloud.io/docs-storefrontcloud-io/v2'
path: '/v2'
port: '80'
has-base-path: true
- name: Update deployment status (success)
if: success()
uses: chrnorm/deployment-status@releases/v1
with:
token: "${{ github.token }}"
token: '${{ github.token }}'
target_url: https://docs.europe-west1.gcp.storefrontcloud.io/v2
state: "success"
state: 'success'
description: Congratulations! The deploy is done.
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
- name: Update deployment status (failure)
if: failure()
uses: chrnorm/deployment-status@releases/v1
with:
token: "${{ github.token }}"
token: '${{ github.token }}'
target_url: https://docs.europe-west1.gcp.storefrontcloud.io/v2
description: Unfortunately, the instance hasn't been updated.
state: "failure"
state: 'failure'
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
8 changes: 0 additions & 8 deletions packages/docs/.vuepress/integrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ const INTEGRATIONS = {
license: LICENSE.OPEN_SOURCE,
maintainedBy: [{ name: 'Vue Storefront', link: 'https://vuestorefront.io/' }],
},
{
name: 'Salesforce Commerce Cloud',
link: 'https://docs.vuestorefront.io/sfcc',
image: 'https://uploads-ssl.webflow.com/5e90e5cd5f86784ad554a3c2/5ed627707df0e6b720941b44_saleforce-commerce-cloud-logo%201.svg',
status: STATUS.BETA,
license: LICENSE.ENTERPRISE,
maintainedBy: [{ name: 'Forkpoint', link: 'https://forkpoint.com/' }],
},
{
name: 'SAP Commerce Cloud',
link: 'https://docs.vuestorefront.io/sapcc',
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/general/enterprise.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ To use them, create the `.npmrc` file with the following content at the root of
Then run the following command and enter your Vue Storefront Enterprise account credentials:

```bash
npm adduser --registry https://registrynpm.storefrontcloud.io
npm login --registry https://registrynpm.storefrontcloud.io
```
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"dependencies": {
"sass-loader": "^8.0.2",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"vuepress-theme-vsf-docs": "^1.3.2"
"vuepress-theme-vsf-docs": "^1.4.0"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17643,10 +17643,10 @@ vuepress-plugin-smooth-scroll@^0.0.3:
dependencies:
smoothscroll-polyfill "^0.4.3"

vuepress-theme-vsf-docs@^1.3.2:
version "1.3.2"
resolved "https://registry.npmjs.org/vuepress-theme-vsf-docs/-/vuepress-theme-vsf-docs-1.3.2.tgz#e2b35c3599fc01f52b1f3f8503049453ebf58a0e"
integrity sha512-ynTnn8sYOTwCI8g2oyW1ZotteaCx/6aV86ozXAgspLkk7wQsAB/tbpz+CPZs7pXb55V4GKcj5E9d0A3ShLS/YA==
vuepress-theme-vsf-docs@^1.4.0:
version "1.4.0"
resolved "https://registry.npmjs.org/vuepress-theme-vsf-docs/-/vuepress-theme-vsf-docs-1.4.0.tgz#40a4d75e8a6324bc14c9336e3db614ef5ea89e28"
integrity sha512-eE5ohJlVMpLButx/AbCY/16tfYyvHdluBBW8qukrXK75xAlGIpXkD20cvjyedZSG6pE2WWs59WY8tsyzB/Z1Tw==
dependencies:
"@vuepress/plugin-active-header-links" "1.9.7"
"@vuepress/plugin-nprogress" "1.9.7"
Expand Down

0 comments on commit 8b65763

Please sign in to comment.