mirror of
https://github.com/barthuijgen/factorio-sites.git
synced 2025-01-05 13:20:27 +02:00
Add cloudflare web analytics for prd
This commit is contained in:
parent
e8e88101ab
commit
71a3d6a887
3
.github/workflows/deploy_prd.yml
vendored
3
.github/workflows/deploy_prd.yml
vendored
@ -29,6 +29,7 @@ jobs:
|
||||
- run: yarn nx build blueprints
|
||||
env:
|
||||
PUBLIC_URL: https://storage.googleapis.com/factorio-blueprints-assets/public
|
||||
CF_WEB_ANALYTICS: 4a7b06ea5bdb4d328a1baea602aea295
|
||||
- name: Set up Cloud SDK
|
||||
uses: google-github-actions/setup-gcloud@master
|
||||
with:
|
||||
@ -45,4 +46,4 @@ jobs:
|
||||
tags: eu.gcr.io/factorio-sites/blueprints
|
||||
- run: gsutil -h "Cache-Control:public, max-age=31536000" -m rsync -r -d ./dist/apps/blueprints/.next/static gs://factorio-blueprints-assets/_next/static
|
||||
- run: gsutil -h "Cache-Control:public, max-age=31536000" -m rsync -r -d ./dist/apps/blueprints/public gs://factorio-blueprints-assets/public
|
||||
- run: gcloud run deploy factorio-blueprints --image=eu.gcr.io/factorio-sites/blueprints --platform managed --region=europe-west4 --update-env-vars PUBLIC_URL=https://storage.googleapis.com/factorio-blueprints-assets/public,ASSET_PREFIX=https://storage.googleapis.com/factorio-blueprints-assets
|
||||
- run: gcloud run deploy factorio-blueprints --image=eu.gcr.io/factorio-sites/blueprints --platform managed --region=europe-west4 --update-env-vars PUBLIC_URL=https://storage.googleapis.com/factorio-blueprints-assets/public,ASSET_PREFIX=https://storage.googleapis.com/factorio-blueprints-assets,CF_WEB_ANALYTICS=4a7b06ea5bdb4d328a1baea602aea295
|
||||
|
Loading…
Reference in New Issue
Block a user