mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
ci: pushing builds to r2
This commit is contained in:
parent
b09e91a1cf
commit
341903fc3e
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -2,6 +2,9 @@ name: Build
|
|||||||
|
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
|
env:
|
||||||
|
AWS_REGION: us-east-1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
@ -19,6 +22,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 20.18.0
|
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
|
- name: Install dependencies
|
||||||
run: yarn
|
run: yarn
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
@use "../../scss/globals.scss";
|
@use "../../scss/globals.scss";
|
||||||
|
|
||||||
.bottom-panel {
|
.bottom-panel {
|
||||||
width: "100%";
|
width: 100%;
|
||||||
border-top: solid 1px globals.$border-color;
|
border-top: solid 1px globals.$border-color;
|
||||||
background-color: globals.$background-color;
|
background-color: globals.$background-color;
|
||||||
padding: calc(globals.$spacing-unit / 2) calc(globals.$spacing-unit * 2);
|
padding: calc(globals.$spacing-unit / 2) calc(globals.$spacing-unit * 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user