Skip to content

Commit

Permalink
ci: upload to cloudflare in master and stable pipelines (flybywiresim…
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjozork authored and Eearslya committed Jan 4, 2023
1 parent 2a13d00 commit 9500812
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ jobs:
run: |
./scripts/cdn.sh $BUNNY_BUCKET_DESTINATION ./build-modules
./scripts/cdn.sh $BUNNY_BUCKET_DESTINATION ./${{ env.BUILD_DIR_NAME }}
- name: Upload to CloudFlare CDN
env:
CLOUDFLARE_BUCKET_PASSWORD: ${{ secrets.CLOUDFLARE_BUCKET_PASSWORD }}
CDN_BUCKET_DESTINATION: addons/a32nx/master
run: |
./scripts/cf-cdn.sh $CDN_BUCKET_DESTINATION ./build-modules
- name: Delete old GitHub Pre-Release assets
uses: mknejp/delete-release-assets@v1
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ jobs:
run: |
./scripts/cdn.sh $BUNNY_BUCKET_DESTINATION ./build-modules
./scripts/cdn.sh $BUNNY_BUCKET_DESTINATION ./${{ env.BUILD_DIR_NAME }}
- name: Upload to CloudFlare CDN
env:
CLOUDFLARE_BUCKET_PASSWORD: ${{ secrets.CLOUDFLARE_BUCKET_PASSWORD }}
CDN_BUCKET_DESTINATION: addons/a32nx/stable
run: |
./scripts/cf-cdn.sh $CDN_BUCKET_DESTINATION ./build-modules
- name: Delete old GitHub Pre-Release assets
uses: mknejp/delete-release-assets@v1
with:
Expand Down

0 comments on commit 9500812

Please sign in to comment.