Skip to content

chore: change inter display into inter for headings (#3073) #616

chore: change inter display into inter for headings (#3073)

chore: change inter display into inter for headings (#3073) #616

name: Deploy Documentation
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"
DOCKERFILE_PATH: "./.vuestorefrontcloud/docs/Dockerfile"
ENVIRONMENT: ${{ needs.configure-enviroment.outputs.environment }}
sync-assets:
needs: [build, configure-enviroment]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.node-version'
cache: 'yarn'
- name: Install dependencies
run: NOT_GENERATE_ICON=true && yarn --immutable
- name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: ${{ secrets.GCP_SFUI_SHARED_SERVICE_ACCOUNT_KEY }}
- name: 'Upload assets to env directory within SFUI GCP storage'
uses: 'google-github-actions/upload-cloud-storage@v1'
with:
path: 'apps/preview/shared/public/@assets'
parent: false
destination: "sfui_docs_artifacts_bucket_public/${{ 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
FARMER_NAMESPACE_NAME: ${{ needs.configure-enviroment.outputs.farmer-instance-name }}
DOCS_NAME: "sfui2-docs"
DOCS_IMAGE: registry.storefrontcloud.io/${{ needs.configure-enviroment.outputs.docker-namespace }}/sfui2-docs
DOCS_SUBPATH: "/v2"
DOCS_PORT: "80"
HAS_BASE_PATH: "true"