Skip to content

Update angular to 17.2.1 #61

Update angular to 17.2.1

Update angular to 17.2.1 #61

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 && cp index.html 404.html && popd
- name: Publish
uses: peaceiris/actions-gh-pages@v3
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