-
Notifications
You must be signed in to change notification settings - Fork 455
39 lines (36 loc) · 1.41 KB
/
deploy-test-next-storefront-cloud.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Deploy Test Next
on:
push:
branches:
- v2
- v2-patch/**
- v2-release/**
- v2-develop
jobs:
configure-enviroment:
name: Setup enviroment
uses: vuestorefront/storefront-ui/.github/workflows/configure-environment.yml@v2-develop
build:
needs: configure-enviroment
uses: vuestorefront/storefront-ui/.github/workflows/image-build-vue-storefront-cloud.yml@v2-develop
secrets: inherit
with:
DOCKER_NAMESPACE: ${{ needs.configure-enviroment.outputs.docker-namespace }}
ARTIFACT_TYPE: "sfui2-docs-react"
DOCKERFILE_PATH: ".vuestorefrontcloud/test-next/docker/Dockerfile"
ENVIRONMENT: ${{ needs.configure-enviroment.outputs.environment }}
deploy:
needs: [ build, configure-enviroment ]
uses: vuestorefront/storefront-ui/.github/workflows/deploy-docker-image-vue-storefront-cloud.yml@v2-develop
secrets: inherit
permissions:
deployments: write
with:
ENVIRONMENT: ${{ needs.configure-enviroment.outputs.environment }}
TARGET_URL: ${{ needs.configure-enviroment.outputs.target-domain }}/v2-react
FARMER_NAMESPACE_NAME: ${{ needs.configure-enviroment.outputs.farmer-instance-name }}
DOCS_NAME: "sfui2-docs-react"
DOCS_IMAGE: registry.storefrontcloud.io/${{ needs.configure-enviroment.outputs.docker-namespace }}/sfui2-docs-react
DOCS_SUBPATH: "/v2-react"
DOCS_PORT: "3000"
HAS_BASE_PATH: "true"