Skip to content

Commit d9f5cf7

Browse files
committed
2025.02.19 one more attempt to fix f*ing workflow
1 parent f73436c commit d9f5cf7

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ jobs:
4545
push: true
4646
tags: ghcr.io/maslianok/gitranks-ui:latest
4747
build-args: |
48-
GRAPHQL_URI='${{ secrets.GRAPHQL_URI }}'
49-
GRAPHQL_SECRET_KEY='${{ secrets.GRAPHQL_SECRET_KEY }}'
50-
MONGODB_URI_AUTH='${{ secrets.MONGODB_URI_AUTH }}'
51-
URI='${{ vars.URI }}'
48+
MONGODB_URI_AUTH="${{ secrets.MONGODB_URI_AUTH }}""
5249
5350
# 4. SSH to droplet and deploy
5451
- name: SSH to droplet and deploy

Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,9 @@ FROM node:22-alpine AS base
22

33
# 1. Declare build arguments
44
# 2. Convert build arguments into environment variables
5-
ARG GRAPHQL_URI
6-
ENV GRAPHQL_URI=$GRAPHQL_URI
7-
8-
ARG GRAPHQL_SECRET_KEY
9-
ENV GRAPHQL_SECRET_KEY=$GRAPHQL_SECRET_KEY
10-
115
ARG MONGODB_URI_AUTH
126
ENV MONGODB_URI_AUTH=$MONGODB_URI_AUTH
137

14-
ARG URI
15-
ENV URI=$URI
16-
178
FROM base AS deps
189
RUN apk update && apk add --no-cache libc6-compat
1910
WORKDIR /app

0 commit comments

Comments
 (0)