diff options
| author | Joel Challis <git@zvecr.com> | 2024-07-11 23:48:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 08:48:43 +1000 |
| commit | 063f1444c68a64a02fe2f5c3de2f8fa765f53533 (patch) | |
| tree | 4b3475a5c7abee5ce9286cce766758fb6c2eff1e /.github | |
| parent | 2e671cfd8be1a867cb6717732f1045fc026aeba0 (diff) | |
Add json index of files to CI uploads (#24097)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci_build_major_branch.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci_build_major_branch.yml b/.github/workflows/ci_build_major_branch.yml index 0e772c7d53..ba5d1c246f 100644 --- a/.github/workflows/ci_build_major_branch.yml +++ b/.github/workflows/ci_build_major_branch.yml | |||
| @@ -95,11 +95,12 @@ jobs: | |||
| 95 | run: | | 95 | run: | |
| 96 | python3 -m pip install -r ./util/ci/requirements.txt | 96 | python3 -m pip install -r ./util/ci/requirements.txt |
| 97 | ./util/ci/index_generator.py > index.html | 97 | ./util/ci/index_generator.py > index.html |
| 98 | ./util/ci/firmware_list_generator.py > firmware_list.json | ||
| 98 | 99 | ||
| 99 | - name: Upload to https://ci.qmk.fm/${{ inputs.branch || github.ref_name }}/${{ github.sha }} | 100 | - name: Upload to https://ci.qmk.fm/${{ inputs.branch || github.ref_name }}/${{ github.sha }} |
| 100 | uses: jakejarvis/s3-sync-action@master | 101 | uses: jakejarvis/s3-sync-action@master |
| 101 | with: | 102 | with: |
| 102 | args: --acl public-read --follow-symlinks --delete --exclude '*' --include 'index.html' --include '*.hex' --include '*.bin' --include '*.uf2' | 103 | args: --acl public-read --follow-symlinks --delete --exclude '*' --include 'index.html' --include 'firmware_list.json' --include '*.hex' --include '*.bin' --include '*.uf2' |
| 103 | env: | 104 | env: |
| 104 | AWS_S3_BUCKET: ${{ vars.CI_QMK_FM_SPACES_BUCKET }} | 105 | AWS_S3_BUCKET: ${{ vars.CI_QMK_FM_SPACES_BUCKET }} |
| 105 | AWS_ACCESS_KEY_ID: ${{ secrets.CI_QMK_FM_SPACES_KEY }} | 106 | AWS_ACCESS_KEY_ID: ${{ secrets.CI_QMK_FM_SPACES_KEY }} |
| @@ -112,7 +113,7 @@ jobs: | |||
| 112 | - name: Upload to https://ci.qmk.fm/${{ inputs.branch || github.ref_name }}/latest | 113 | - name: Upload to https://ci.qmk.fm/${{ inputs.branch || github.ref_name }}/latest |
| 113 | uses: jakejarvis/s3-sync-action@master | 114 | uses: jakejarvis/s3-sync-action@master |
| 114 | with: | 115 | with: |
| 115 | args: --acl public-read --follow-symlinks --delete --exclude '*' --include 'index.html' --include '*.hex' --include '*.bin' --include '*.uf2' | 116 | args: --acl public-read --follow-symlinks --delete --exclude '*' --include 'index.html' --include 'firmware_list.json' --include '*.hex' --include '*.bin' --include '*.uf2' |
| 116 | env: | 117 | env: |
| 117 | AWS_S3_BUCKET: ${{ vars.CI_QMK_FM_SPACES_BUCKET }} | 118 | AWS_S3_BUCKET: ${{ vars.CI_QMK_FM_SPACES_BUCKET }} |
| 118 | AWS_ACCESS_KEY_ID: ${{ secrets.CI_QMK_FM_SPACES_KEY }} | 119 | AWS_ACCESS_KEY_ID: ${{ secrets.CI_QMK_FM_SPACES_KEY }} |
