This commit is contained in:
jayjojayson 2026-02-07 12:12:01 +01:00
parent a4fa47b1c7
commit b93cdba852
9 changed files with 2154 additions and 0 deletions

26
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Upload Release Asset
# Startet nur, wenn ein neues Release veröffentlicht wird
on:
release:
types: [published]
# Schreibrechte sind notwendig für den Upload
permissions:
contents: write
jobs:
upload-asset:
runs-on: ubuntu-latest
steps:
# 1. Code auschecken (damit die Datei dist/sun-position-card.js verfügbar ist)
- name: Checkout code
uses: actions/checkout@v4
# 2. Die existierende Datei aus dem dist-Ordner an das Release anhängen
- name: Upload Release Asset
uses: softprops/action-gh-release@v2
with:
files: dist/power-flux-card.js