Skip to content

Make releases archive not contain build folder #4

Make releases archive not contain build folder

Make releases archive not contain build folder #4

Workflow file for this run

name: Build and publish static files
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '21.5.0'
- name: Install dependencies
working-directory: ./client
run: npm ci
- name: Build
working-directory: ./client
run: npm run build
- name: Compress build
working-directory: ./client
run: tar -czf build.tar.gz -C build .
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
./client/build.tar.gz