From d9b05ba5018d1e3b6e267099a46198f63c25fbc9 Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 23 Nov 2022 13:37:39 +0800 Subject: [PATCH] fix date prefix for prod builds --- .github/workflows/ci.yml | 10 +++++++++- .github/workflows/main.yml | 2 +- packages/gui/src/app.css | 16 ++++++++-------- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cbad7f..da656ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,15 @@ jobs: toolchain: stable - name: install app dependencies and build it run: pnpm install && pnpm --filter gui build - + - name: Get current date + id: date + run: echo "date=date::$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT + - uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-east-1 + - run: echo ${{ steps.date.outputs.date }}_test build_tauri: needs: changes if: needs.changes.outputs.tauri == 'true' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe86c55..87f2ede 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -104,7 +104,7 @@ jobs: - name: Get current date id: date - run: echo "date=date::$(date +'%Y-%m-%dT%H:%M:%S')" >> >> $GITHUB_OUTPUT + run: echo "date=date::$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT - name: mac-os cp package images from prod to gui bucket if: matrix.platform == 'macos-latest' diff --git a/packages/gui/src/app.css b/packages/gui/src/app.css index aabc518..a529a89 100644 --- a/packages/gui/src/app.css +++ b/packages/gui/src/app.css @@ -8,17 +8,17 @@ html { } @font-face { - font-family: "pp-neue-machina"; - src: url("../static/fonts/PPNeueMachina-InktrapLight.woff"); + font-family: "pp-neue-machina"; + src: url("../static/fonts/PPNeueMachina-InktrapLight.woff"); } @font-face { - font-family: "sono"; - src: url("../static/fonts/Sono-Light.woff2"); + font-family: "sono"; + src: url("../static/fonts/Sono-Light.woff2"); } @layer base { - html { - font-family: sono, sans-serif; - } - } \ No newline at end of file + html { + font-family: sono, sans-serif; + } +} \ No newline at end of file