Skip to content

Bump npm-check-updates from 16.14.20 to 17.0.2 in /webui (#1300) #147

Bump npm-check-updates from 16.14.20 to 17.0.2 in /webui (#1300)

Bump npm-check-updates from 16.14.20 to 17.0.2 in /webui (#1300) #147

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