Skip to content

Commit

Permalink
Remove temporary utilities for publishing
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Bulat <[email protected]>
  • Loading branch information
obulat committed Jul 30, 2024
1 parent 27170af commit 3715639
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions frontend/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 #
######
Expand Down

0 comments on commit 3715639

Please sign in to comment.