[CI] Use existing repo variables instead (#23676)

This commit is contained in:
Nick Brassel 2024-05-07 12:23:56 +10:00 committed by GitHub
parent 02737307ff
commit a58906ceb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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