Skip to content

Bump @types/node from 22.8.7 to 22.9.0 in /webui (#1401) #191

Bump @types/node from 22.8.7 to 22.9.0 in /webui (#1401)

Bump @types/node from 22.8.7 to 22.9.0 in /webui (#1401) #191

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