From 37156393848d2bbed54ce06162bbed05e9d53349 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Tue, 30 Jul 2024 07:17:05 +0300 Subject: [PATCH] Remove temporary utilities for publishing Signed-off-by: Olga Bulat --- frontend/justfile | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/frontend/justfile b/frontend/justfile index 88e893b3d61..eeb402bb24f 100644 --- a/frontend/justfile +++ b/frontend/justfile @@ -50,18 +50,6 @@ run-img tag="openverse-frontend:local": --publish 8443:8443 \ {{ tag }} -# Build and push frontend images to `nuxt-preview` tag at https://nuxt-preview.openverse.org/. -# Part of temporary utilities for Nuxt 3 iteration. -# You must set the CR_PAT env variable to your GitHub token before running this script to enable ghcr login. -# export CR_PAT=YOUR_TOKEN -push-to-nuxt-preview github_username: - echo $CR_PAT | docker login ghcr.io -u {{github_username}} --password-stdin - just build-img ghcr.io/wordpress/openverse-frontend:nuxt-preview - docker build -t ghcr.io/wordpress/openverse-frontend_nginx:nuxt-preview -f ./Dockerfile.nginx . - docker push ghcr.io/wordpress/openverse-frontend:nuxt-preview - docker push ghcr.io/wordpress/openverse-frontend_nginx:nuxt-preview - gh workflow run -R WordPress/openverse-infrastructure 'Deployment - production-frontend-nuxt-3' -f tag=nuxt-preview - ###### # Up # ######