mirror of
https://github.com/vercel/commerce.git
synced 2025-06-06 08:16:59 +00:00
fix(package): added build pack script for .env
This commit is contained in:
parent
04a5633ad9
commit
cbac60507b
10
.github/workflows/develop.deploy-functions.yml
vendored
10
.github/workflows/develop.deploy-functions.yml
vendored
@ -51,5 +51,15 @@ jobs:
|
||||
project_id: ${{ vars.PROJECT_ID }}
|
||||
region: ${{ vars.REGION }}
|
||||
source: ./
|
||||
env_vars: |-
|
||||
COMPANY_NAME="Foo Bar"
|
||||
TWITTER_CREATOR="@vercel"
|
||||
TWITTER_SITE="https://nextjs.org/commerce"
|
||||
SITE_NAME="Next.js Commerce"
|
||||
SHOPIFY_REVALIDATION_SECRET="${{ env.SHOPIFY_REVALIDATION_SECRET }}"
|
||||
SHOPIFY_STOREFRONT_ACCESS_TOKEN="${{ env.SHOPIFY_STOREFRONT_ACCESS_TOKEN }}"
|
||||
SHOPIFY_STORE_DOMAIN="${{ env.SHOPIFY_STORE_DOMAIN }}"
|
||||
env_vars_update_strategy: 'overwrite'
|
||||
|
||||
- name: 'Use output'
|
||||
run: 'curl "${{ steps.deploy.outputs.url }}"'
|
||||
|
@ -13,7 +13,8 @@
|
||||
"lint-staged": "lint-staged",
|
||||
"prettier": "prettier --write --ignore-unknown .",
|
||||
"prettier:check": "prettier --check --ignore-unknown .",
|
||||
"test": "pnpm lint && pnpm prettier:check"
|
||||
"test": "pnpm lint && pnpm prettier:check",
|
||||
"create-env": "printenv > .env"
|
||||
},
|
||||
"git": {
|
||||
"pre-commit": "lint-staged"
|
||||
|
Loading…
x
Reference in New Issue
Block a user