matrix-art

An image gallery for Matrix
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.git
Log | Files | Refs | README | LICENSE

commit c737e3c81edf302b5320a0403f9967e3bb4a18be
parent b47c1da8c8cfa5dc92171f834e0a842c8b031099
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 18 Apr 2022 22:48:56 +0200

Fix name and add env file

Diffstat:
M.github/workflows/deploy-preview.yml | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml @@ -37,9 +37,16 @@ jobs: if: ${{ github.ref != 'refs/heads/main' }} uses: actions/checkout@v3 - uses: actions/setup-node@v3 - name: ${{ github.ref != 'refs/heads/main' }} + name: Setup node + if: ${{ github.ref != 'refs/heads/main' }} with: node-version: "16" + - name: Create env file + if: ${{ github.ref != 'refs/heads/main' }} + run: | + VITE_MATRIX_SERVER_URL="https://matrix.art.midnightthoughts.space" > .env.local + VITE_MATRIX_INSTANCE_ADMIN="@administrator:art.midnightthoughts.space" >> .env.local + VITE_MATRIX_ROOT_FOLDER="#Matrix_Art:art.midnightthoughts.space" >> .env.local - name: Install and Build 🔧 if: ${{ github.ref != 'refs/heads/main' }} run: |