Skip to content

Commit

Permalink
fix: temporarily comment out build
Browse files Browse the repository at this point in the history
  • Loading branch information
sethidden committed Jun 21, 2022
1 parent 457a74f commit f47a278
Showing 1 changed file with 61 additions and 55 deletions.
116 changes: 61 additions & 55 deletions .github/workflows/deploy-vue-storefront-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,67 +57,73 @@ jobs:
token: ${{ secrets.DEPLOYMENT_PERSONAL_ACCESS_TOKEN }}
environment: ${{ steps.determine-environment.outputs.name }}
initial-status: in_progress
# build:
# needs: create-deployment
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v1

# - name: Setup node
# uses: actions/setup-node@v1
# with:
# node-version: 16.x

# - name: Build and publish docker image
# uses: elgohr/Publish-Docker-Github-Action@master
# with:
# name: demo-magento2-storefrontcloud-io/vue-storefront:${{ github.sha }}
# registry: registry.vuestorefront.cloud
# username: ${{ secrets.CLOUD_USERNAME }}
# password: ${{ secrets.CLOUD_PASSWORD }}
# dockerfile: .vuestorefrontcloud/docker/Dockerfile
# buildoptions: --compress
# buildargs: NPM_EMAIL,NPM_PASS,NPM_USER,NPM_REGISTRY,LAST_COMMIT,VSF_STORE_URL,VSF_MAGENTO_BASE_URL,VSF_MAGENTO_GRAPHQL_URL,VSF_MAGENTO_EXTERNAL_CHECKOUT_ENABLED,VSF_MAGENTO_EXTERNAL_CHECKOUT_URL,VSF_MAGENTO_EXTERNAL_CHECKOUT_SYNC_PATH,VSF_IMAGE_PROVIDER,VSF_IMAGE_PROVIDER_BASE_URL,VSF_IMAGE_PROVIDER_DOMAIN,VSF_REDIS_HOST,VSF_REDIS_PORT,VSF_REDIS_CACHE_INVALIDATE_KEY,VSF_REDIS_CACHE_INVALIDATE_URL,VSF_REDIS_KEY_PREFIX,VSF_REDIS_ENABLED,VSF_RECAPTCHA_ENABLED,VSF_RECAPTCHA_HIDE_BADGE,VSF_RECAPTCHA_VERSION,VSF_RECAPTCHA_SIZE,VSF_RECAPTCHA_MIN_SCORE,VSF_RECAPTCHA_SITE_KEY,VSF_RECAPTCHA_SECRET_KEY,VSF_SENTRY_DSN,

# env:
# NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
# NPM_USER: ${{ secrets.CLOUD_USERNAME }}
# NPM_PASS: ${{ secrets.CLOUD_PASSWORD }}
# NPM_REGISTRY: https://registrynpm.storefrontcloud.io

# VSF_STORE_URL: ''

# VSF_MAGENTO_BASE_URL: https://magento2-instance.vuestorefront.io/
# VSF_MAGENTO_GRAPHQL_URL: https://magento2-instance.vuestorefront.io/graphql
# VSF_MAGENTO_EXTERNAL_CHECKOUT_ENABLED: false
# VSF_MAGENTO_EXTERNAL_CHECKOUT_URL: ''
# VSF_MAGENTO_EXTERNAL_CHECKOUT_SYNC_PATH: ''

# VSF_IMAGE_PROVIDER: cloudinary
# VSF_IMAGE_PROVIDER_BASE_URL: https://res-4.cloudinary.com/dnozky7on/image/upload/
# VSF_IMAGE_PROVIDER_DOMAIN: https://res-4.cloudinary.com

# VSF_REDIS_ENABLED: true
# VSF_REDIS_HOST: redis # VSF cloud specific
# VSF_REDIS_PORT: 6379
# VSF_REDIS_KEY_PREFIX: ${{ github.sha }}
# VSF_REDIS_CACHE_INVALIDATE_KEY: magento2vsf2
# VSF_REDIS_CACHE_INVALIDATE_URL: /cache-invalidate

# VSF_RECAPTCHA_ENABLED: false
# VSF_RECAPTCHA_HIDE_BADGE: false
# VSF_RECAPTCHA_VERSION: 3
# VSF_RECAPTCHA_SIZE: invisible
# VSF_RECAPTCHA_MIN_SCORE: 0.5
# VSF_RECAPTCHA_SITE_KEY: 6Ldce0EeAAAAAAGGtGWG-e-SygXiFub6PXHT5fKd
# VSF_RECAPTCHA_SECRET_KEY: ${{ secrets.RECAPTCHA_SECRET_KEY }}

# VSF_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}

# LAST_COMMIT: ${{ github.sha }}
build:
needs: create-deployment
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1

- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 16.x

- name: Build and publish docker image
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: demo-magento2-storefrontcloud-io/vue-storefront:${{ github.sha }}
registry: registry.vuestorefront.cloud
username: ${{ secrets.CLOUD_USERNAME }}
password: ${{ secrets.CLOUD_PASSWORD }}
dockerfile: .vuestorefrontcloud/docker/Dockerfile
buildoptions: --compress
buildargs: NPM_EMAIL,NPM_PASS,NPM_USER,NPM_REGISTRY,LAST_COMMIT,VSF_STORE_URL,VSF_MAGENTO_BASE_URL,VSF_MAGENTO_GRAPHQL_URL,VSF_MAGENTO_EXTERNAL_CHECKOUT_ENABLED,VSF_MAGENTO_EXTERNAL_CHECKOUT_URL,VSF_MAGENTO_EXTERNAL_CHECKOUT_SYNC_PATH,VSF_IMAGE_PROVIDER,VSF_IMAGE_PROVIDER_BASE_URL,VSF_IMAGE_PROVIDER_DOMAIN,VSF_REDIS_HOST,VSF_REDIS_PORT,VSF_REDIS_CACHE_INVALIDATE_KEY,VSF_REDIS_CACHE_INVALIDATE_URL,VSF_REDIS_KEY_PREFIX,VSF_REDIS_ENABLED,VSF_RECAPTCHA_ENABLED,VSF_RECAPTCHA_HIDE_BADGE,VSF_RECAPTCHA_VERSION,VSF_RECAPTCHA_SIZE,VSF_RECAPTCHA_MIN_SCORE,VSF_RECAPTCHA_SITE_KEY,VSF_RECAPTCHA_SECRET_KEY,VSF_SENTRY_DSN,

env:
NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
NPM_USER: ${{ secrets.CLOUD_USERNAME }}
NPM_PASS: ${{ secrets.CLOUD_PASSWORD }}
NPM_REGISTRY: https://registrynpm.storefrontcloud.io

VSF_STORE_URL: ''

VSF_MAGENTO_BASE_URL: https://magento2-instance.vuestorefront.io/
VSF_MAGENTO_GRAPHQL_URL: https://magento2-instance.vuestorefront.io/graphql
VSF_MAGENTO_EXTERNAL_CHECKOUT_ENABLED: false
VSF_MAGENTO_EXTERNAL_CHECKOUT_URL: ''
VSF_MAGENTO_EXTERNAL_CHECKOUT_SYNC_PATH: ''

VSF_IMAGE_PROVIDER: cloudinary
VSF_IMAGE_PROVIDER_BASE_URL: https://res-4.cloudinary.com/dnozky7on/image/upload/
VSF_IMAGE_PROVIDER_DOMAIN: https://res-4.cloudinary.com

VSF_REDIS_ENABLED: true
VSF_REDIS_HOST: redis # VSF cloud specific
VSF_REDIS_PORT: 6379
VSF_REDIS_KEY_PREFIX: ${{ github.sha }}
VSF_REDIS_CACHE_INVALIDATE_KEY: magento2vsf2
VSF_REDIS_CACHE_INVALIDATE_URL: /cache-invalidate

VSF_RECAPTCHA_ENABLED: false
VSF_RECAPTCHA_HIDE_BADGE: false
VSF_RECAPTCHA_VERSION: 3
VSF_RECAPTCHA_SIZE: invisible
VSF_RECAPTCHA_MIN_SCORE: 0.5
VSF_RECAPTCHA_SITE_KEY: 6Ldce0EeAAAAAAGGtGWG-e-SygXiFub6PXHT5fKd
VSF_RECAPTCHA_SECRET_KEY: ${{ secrets.RECAPTCHA_SECRET_KEY }}

VSF_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}

LAST_COMMIT: ${{ github.sha }}
- run: echo OK

deploy:
runs-on: ubuntu-latest
needs: [create-deployment, build]
uses: ./.github/workflows/deployment-template.yml
with:
Expand Down

0 comments on commit f47a278

Please sign in to comment.