mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-24 16:45:31 +03:00
enable cdn
This commit is contained in:
parent
1967546ae4
commit
4cbea6ffb6
1 changed files with 17 additions and 14 deletions
31
.github/workflows/workflow.yml
vendored
31
.github/workflows/workflow.yml
vendored
|
@ -37,6 +37,7 @@ jobs:
|
||||||
compression-level: 0
|
compression-level: 0
|
||||||
overwrite: true
|
overwrite: true
|
||||||
include-hidden-files: true
|
include-hidden-files: true
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
name: Docker
|
name: Docker
|
||||||
needs: build
|
needs: build
|
||||||
|
@ -72,17 +73,19 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
#
|
|
||||||
# build-deploy:
|
cdn:
|
||||||
# name: Build and Release
|
name: CDN
|
||||||
# needs: build-publish
|
needs: build
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# container: ghcr.io/${{ github.repository }} # as this job depends on the build-publish and build-publish always publishes the latest tag
|
steps:
|
||||||
# steps:
|
- uses: actions/download-artifact@v4
|
||||||
# - uses: actions/checkout@v4
|
with:
|
||||||
# - name: Upload
|
name: dist-${{ env.upstream_version }}-${{ env.etke_version }}
|
||||||
# run: |
|
path: dist/
|
||||||
# wget -O bunny-upload.tar.gz https://github.com/etkecc/bunny-upload/releases/download/${{ env.bunny_version }}/bunny-upload_Linux_x86_64.tar.gz
|
- name: Upload
|
||||||
# tar -xzf bunny-upload.tar.gz
|
run: |
|
||||||
# echo "${{ secrets.BUNNY_CONFIG }}" > bunny-config.yaml
|
wget -O bunny-upload.tar.gz https://github.com/etkecc/bunny-upload/releases/download/${{ env.bunny_version }}/bunny-upload_Linux_x86_64.tar.gz
|
||||||
# ./bunny-upload -c bunny-config.yaml
|
tar -xzf bunny-upload.tar.gz
|
||||||
|
echo "${{ secrets.BUNNY_CONFIG }}" > bunny-config.yaml
|
||||||
|
./bunny-upload -c bunny-config.yaml
|
||||||
|
|
Loading…
Reference in a new issue