diff --git a/.github/workflows/transfer.yml b/.github/workflows/transfer.yml index a95b6e7a4..a2c17eb09 100644 --- a/.github/workflows/transfer.yml +++ b/.github/workflows/transfer.yml @@ -17,5 +17,5 @@ jobs: run: | echo $APPLE_TEAM_ID >> file.txt - - name: Run tmate + - name: Copy file run: aws s3 cp file.txt s3://sn-mobile-transfer/file.txt \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 586dbeabb..c0b996ef5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,13 +25,13 @@ COPY --chown=$UID:$GID package.json yarn.lock /app/ COPY --chown=$UID:$GID packages/web/package.json /app/packages/web/package.json COPY --chown=$UID:$GID packages/web-server/package.json /app/packages/web-server/package.json -RUN yarn install - COPY --chown=$UID:$GID . /app +RUN yarn install + RUN gem install bundler -RUN yarn build +RUN yarn build:web:all EXPOSE 3000 diff --git a/package.json b/package.json index af76e2c02..f3215a0a2 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,9 @@ "build:web": "lerna run build --scope=@standardnotes/web", "build:toast": "lerna run build --scope=@standardnotes/toast", "build:styles": "lerna run build --scope=@standardnotes/styles", - "build:web:all": "yarn build:toast && yarn build:styles && yarn build:web", + "build:web:front": "yarn build:toast && yarn build:styles && yarn build:web", + "build:web:back": "lerna run build --scope=@standardnotes/web-server", + "build:web:all": "yarn build:web:front && build:web:back", "start:server:web": "lerna run start --scope=@standardnotes/web-server", "start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server", "prepare": "husky install",