Skip to content

Commit 47b8673

Browse files
Added new env variable (#79)
* added new env variable * updated env var * Add temporary branch to ci * restored ci --------- Co-authored-by: Oleksandr Varchenko <[email protected]>
1 parent d3fbeef commit 47b8673

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
VITE_ENVIRONMENT=development
22
VITE_PORT=8095
33
VITE_APP_API_URL='https://api.stage.solarity.dev'
4+
VITE_APP_HOSTNAME="https://stage.solarity.dev"
45
VITE_APP_NAME='Solarity'
56
VITE_APP_COMPANY_URL='https://distributedlab.com'
67
VITE_APP_DOCUMENTATION_URL='https://docs.stage.solarity.dev'

.github/workflows/actions.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
echo $GITHUB_SHA
3030
- name: Run Build
3131
run: |
32-
. $(werf ci-env github --as-file)
32+
. $(werf ci-env github --as-file)
3333
echo "${{ secrets.STAGE_ENV }}" > .env.deploy
3434
werf export web --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA --dev
3535
stage-deploy:
@@ -43,5 +43,4 @@ jobs:
4343
echo "${{ secrets.KUBECONFIG }}" > config
4444
mv config ~/.kube/
4545
ls ~/.kube/
46-
kubectl set image deployment/solarity-stage-webclient webclient=ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA -n stage
47-
46+
kubectl set image deployment/solarity-stage-webclient webclient=ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA -n stage

nuxt.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ export default defineNuxtConfig({
3333
{ property: 'og:locale', content: 'en_GB' },
3434
{ property: 'og:type', content: 'website' },
3535
{ name: 'twitter:card', content: 'summary_large_image' },
36-
{ name: 'twitter:image', content: '/branding/og-image.png' },
36+
{
37+
name: 'twitter:image',
38+
content: `${process.env.VITE_APP_HOSTNAME}/branding/og-image.png`,
39+
},
3740
{ name: 'twitter:title', content: 'Solarity' },
3841
{
3942
name: 'twitter:description',

0 commit comments

Comments
 (0)