From 341903fc3e3ab72049e8402501faa715e760554a Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Sat, 9 Nov 2024 04:26:01 +0000 Subject: [PATCH] ci: pushing builds to r2 --- .github/workflows/build.yml | 13 +++++++++++++ .../src/components/bottom-panel/bottom-panel.scss | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21e184fe..89392011 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,9 @@ name: Build on: pull_request +env: + AWS_REGION: us-east-1 + jobs: build: strategy: @@ -19,6 +22,16 @@ jobs: with: node-version: 20.18.0 + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} + aws-region: ${{ env.AWS_REGION }} + + - name: Push build to R2 + run: aws s3 sync ./docs s3://${{ vars.BUILDS_BUCKET_NAME }} + - name: Install dependencies run: yarn diff --git a/src/renderer/src/components/bottom-panel/bottom-panel.scss b/src/renderer/src/components/bottom-panel/bottom-panel.scss index 35a1a0ee..5103e916 100644 --- a/src/renderer/src/components/bottom-panel/bottom-panel.scss +++ b/src/renderer/src/components/bottom-panel/bottom-panel.scss @@ -1,7 +1,7 @@ @use "../../scss/globals.scss"; .bottom-panel { - width: "100%"; + width: 100%; border-top: solid 1px globals.$border-color; background-color: globals.$background-color; padding: calc(globals.$spacing-unit / 2) calc(globals.$spacing-unit * 2);