Skip to content

Bump cross-spawn from 7.0.3 to 7.0.6 in /webui (#1409) #194

Bump cross-spawn from 7.0.3 to 7.0.6 in /webui (#1409)

Bump cross-spawn from 7.0.3 to 7.0.6 in /webui (#1409) #194

Workflow file for this run

name: Publish Web UI
on:
push:
branches: [ master ]
paths:
- 'webui/**'
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./webui
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.10.0'
- name: NPM Install
run: npm ci
- name: Angular Build
run: npm run build
- name: Clean up
run: pushd dist/webui && rm packagessniper_v2.json && rm README.md && cp index.html 404.html && popd
- name: Publish
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./webui/dist/webui
keep_files: true
external_repository: luxtorpeda-dev/luxtorpeda-dev.github.io
publish_branch: master