mirror of
https://github.com/alexhopeoconnor/bom-local-card.git
synced 2026-10-03 22:22:00 +10:00
Remove release workflow as assets are included in repository
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
name: Build and Upload Release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Build Card (Production)
|
||||
run: |
|
||||
chmod +x run.sh
|
||||
./run.sh build npm prod
|
||||
|
||||
- name: Show build contents (sanity check)
|
||||
run: ls -la custom_components/bom_local/www/ || true
|
||||
|
||||
- name: Upload build to release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: custom_components/bom_local/www/bom-local-card.js
|
||||
fail_on_unmatched_files: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user