Skip to content

Commit

Permalink
ci: pushing builds to r2
Browse files Browse the repository at this point in the history
  • Loading branch information
thegrannychaseroperation committed Nov 9, 2024
1 parent b09e91a commit 341903f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build

on: pull_request

env:
AWS_REGION: us-east-1

jobs:
build:
strategy:
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/components/bottom-panel/bottom-panel.scss
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 341903f

Please sign in to comment.