mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 00:16:41 +06:00
[CI] Use existing repo variables instead (#23676)
This commit is contained in:
parent
02737307ff
commit
a58906ceb3
14
.github/workflows/ci_build_major_branch.yml
vendored
14
.github/workflows/ci_build_major_branch.yml
vendored
|
@ -72,7 +72,7 @@ jobs:
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
rollup_tasks:
|
rollup_tasks:
|
||||||
name: "Housekeeping"
|
name: "Consolidation"
|
||||||
needs: build_targets
|
needs: build_targets
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -89,11 +89,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
args: --acl public-read --follow-symlinks --delete
|
args: --acl public-read --follow-symlinks --delete
|
||||||
env:
|
env:
|
||||||
AWS_S3_BUCKET: qmk-ci
|
AWS_S3_BUCKET: ${{ vars.CI_QMK_FM_SPACES_BUCKET }}
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.CI_QMK_FM_SPACES_KEY }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.CI_QMK_FM_SPACES_KEY }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_QMK_FM_SPACES_SECRET }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_QMK_FM_SPACES_SECRET }}
|
||||||
AWS_REGION: nyc3
|
AWS_REGION: ${{ vars.CI_QMK_FM_SPACES_REGION }}
|
||||||
AWS_S3_ENDPOINT: nyc3.digitaloceanspaces.com
|
AWS_S3_ENDPOINT: ${{ vars.CI_QMK_FM_SPACES_ENDPOINT }}
|
||||||
SOURCE_DIR: firmwares
|
SOURCE_DIR: firmwares
|
||||||
DEST_DIR: ${{ inputs.branch || github.ref_name }}/${{ github.sha }}
|
DEST_DIR: ${{ inputs.branch || github.ref_name }}/${{ github.sha }}
|
||||||
|
|
||||||
|
@ -102,11 +102,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
args: --acl public-read --follow-symlinks --delete
|
args: --acl public-read --follow-symlinks --delete
|
||||||
env:
|
env:
|
||||||
AWS_S3_BUCKET: qmk-ci
|
AWS_S3_BUCKET: ${{ vars.CI_QMK_FM_SPACES_BUCKET }}
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.CI_QMK_FM_SPACES_KEY }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.CI_QMK_FM_SPACES_KEY }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_QMK_FM_SPACES_SECRET }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_QMK_FM_SPACES_SECRET }}
|
||||||
AWS_REGION: nyc3
|
AWS_REGION: ${{ vars.CI_QMK_FM_SPACES_REGION }}
|
||||||
AWS_S3_ENDPOINT: nyc3.digitaloceanspaces.com
|
AWS_S3_ENDPOINT: ${{ vars.CI_QMK_FM_SPACES_ENDPOINT }}
|
||||||
SOURCE_DIR: firmwares
|
SOURCE_DIR: firmwares
|
||||||
DEST_DIR: ${{ inputs.branch || github.ref_name }}/latest
|
DEST_DIR: ${{ inputs.branch || github.ref_name }}/latest
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user