Skip to content

Commit

Permalink
bskyogcard: rename from bskycard
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy committed Jun 19, 2024
1 parent a1a881d commit fab409a
Show file tree
Hide file tree
Showing 19 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build-and-push-bskycard-aws
name: build-and-push-ogcard-aws
on:
push:
branches:
Expand All @@ -8,10 +8,10 @@ env:
REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_REGISTRY }}
USERNAME: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_USERNAME }}
PASSWORD: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_PASSWORD }}
IMAGE_NAME: bskycard
IMAGE_NAME: bskyogcard

jobs:
bskycard-container-aws:
ogcard-container-aws:
if: github.repository == 'bluesky-social/social-app'
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
file: ./Dockerfile.bskycard
file: ./Dockerfile.bskyogcard
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.bskycard → Dockerfile.bskyogcard
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ FROM node:20.11-alpine3.18 as build
# Move files into the image and install
WORKDIR /app

COPY ./bskycard/package.json ./
COPY ./bskycard/yarn.lock ./
COPY ./bskyogcard/package.json ./
COPY ./bskyogcard/yarn.lock ./
RUN yarn install --frozen-lockfile

COPY ./bskycard ./
COPY ./bskyogcard ./

# build then prune dev deps
RUN yarn build
Expand Down
3 changes: 0 additions & 3 deletions bskycard/src/logger.ts

This file was deleted.

3 changes: 2 additions & 1 deletion bskycard/package.json → bskyogcard/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "bskycard",
"name": "bskyogcard",
"version": "0.0.0",
"type": "module",
"main": "src/index.ts",
"scripts": {
"start": "node --loader ts-node/esm ./src/bin.ts",
"build": "tsc && cp -r src/assets dist/assets"
},
"dependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions bskyogcard/src/logger.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {subsystemLogger} from '@atproto/common'

export const httpLogger = subsystemLogger('bskyogcard')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fab409a

Please sign in to comment.