commit afe33744635a34b56a579e4c8f261b187c9289e6 parent c737e3c81edf302b5320a0403f9967e3bb4a18be Author: MTRNord <mtrnord1@gmail.com> Date: Mon, 18 Apr 2022 22:51:30 +0200 Fix workflow Diffstat:
| M | .github/workflows/deploy-preview.yml | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml @@ -44,14 +44,14 @@ jobs: - 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 + echo "VITE_MATRIX_SERVER_URL=https://matrix.art.midnightthoughts.space" > .env.local + echo "VITE_MATRIX_INSTANCE_ADMIN=@administrator:art.midnightthoughts.space" >> .env.local + echo "VITE_MATRIX_ROOT_FOLDER=#Matrix_Art:art.midnightthoughts.space" >> .env.local - name: Install and Build 🔧 if: ${{ github.ref != 'refs/heads/main' }} run: | npm ci - npx tsc && npx vite build --base /pr-${{ github.event.pull_request.number }} + npx tsc && npx vite build --base /pr-${{ github.event.pull_request.number }}/ - name: Deploy to gh-pages if: ${{ github.ref != 'refs/heads/main' }} uses: peaceiris/actions-gh-pages@v3