From 30983f6808d57905ea39f66fc6a0fd89130bb2d0 Mon Sep 17 00:00:00 2001 From: K0IN Date: Sun, 23 Jun 2024 21:39:55 +0200 Subject: [PATCH] Update build-release-files.yml --- .github/workflows/build-release-files.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-release-files.yml b/.github/workflows/build-release-files.yml index 2d04c72..9ba0f72 100644 --- a/.github/workflows/build-release-files.yml +++ b/.github/workflows/build-release-files.yml @@ -6,7 +6,7 @@ on: # - created # - published push: - + jobs: build-release-files: runs-on: ubuntu-latest @@ -23,7 +23,7 @@ jobs: node-version: "latest" - name: Create directories - run: mkdir -p ~/out/notify ~/out/notify/static-files + run: mkdir -p ~/out/notify ~/out/notify/frontend/build - name: Compile Deno and copy to output run: deno compile --allow-net --allow-read --allow-write --allow-env --unstable --output ~/out/notify/notify ./main.ts @@ -38,18 +38,17 @@ jobs: working-directory: ./app/frontend - name: Copy frontend files - run: cp -r ./app/frontend/build/* ~/out/notify/static-files + run: cp -r ./app/frontend/build/* ~/out/notify/frontend/build - name: Archive files run: tar -czf ~/out/notify.tar.gz -C ~/out/notify . - + - name: Add artifact uses: actions/upload-artifact@v2 with: name: notify path: ~/out/notify.tar.gz - # - name: Upload release files # uses: actions/upload-release-asset@v1 # with: