mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-21 15:25:22 +03:00
add CDN
This commit is contained in:
parent
7016e5a349
commit
88e88fb6b9
2 changed files with 26 additions and 1 deletions
21
.github/workflows/workflow.yml
vendored
21
.github/workflows/workflow.yml
vendored
|
@ -1,10 +1,11 @@
|
|||
name:
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
env:
|
||||
upstream_version: v0.10.3
|
||||
etke_version: etke1
|
||||
bunny_version: v0.1.0
|
||||
permissions:
|
||||
checks: write
|
||||
contents: write
|
||||
|
@ -44,3 +45,21 @@ jobs:
|
|||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
build-deploy:
|
||||
name: Build and Release
|
||||
needs: build-publish
|
||||
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:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Configure
|
||||
run: |
|
||||
cp ./config.json /app/config.json
|
||||
mv /app ./public
|
||||
- name: Upload
|
||||
run: |
|
||||
wget -O bunny-upload.tar.gz https://github.com/etkecc/bunny-upload/releases/download/${{ env.bunny_version }}/bunny-upload_Linux_x86_64.tar.gz
|
||||
tar -xzf bunny-upload.tar.gz
|
||||
echo "${{ secrets.BUNNY_CONFIG }}" > bunny-config.yaml
|
||||
./bunny-upload -c bunny-config.yaml
|
||||
|
|
|
@ -11,6 +11,12 @@ This project is built using [react-admin](https://marmelab.com/react-admin/).
|
|||
|
||||
## Fork differences
|
||||
|
||||
### Available via CDN
|
||||
|
||||
On [admin.etke.cc](https://admin.etke.cc) you can find the latest version of this fork.
|
||||
|
||||
### Changes
|
||||
|
||||
With [Awesome-Technologies/synapse-admin](https://github.com/Awesome-Technologies/synapse-admin) as the upstream, this
|
||||
fork is intended to be a more feature-rich version of the original project. The main goal is to provide a more
|
||||
user-friendly interface for managing Synapse homeservers.
|
||||
|
|
Loading…
Reference in a new issue