Skip to content

Commit

Permalink
add CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
aine-etke committed Aug 31, 2024
1 parent 7016e5a commit 88e88fb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 88e88fb

Please sign in to comment.