Skip to content

Commit

Permalink
Update build-release-files.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
K0IN committed Jun 23, 2024
1 parent e3561e7 commit 30983f6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-release-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
# - created
# - published
push:

jobs:
build-release-files:
runs-on: ubuntu-latest
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 30983f6

Please sign in to comment.