Skip to content

Update notifier_dispatch.py - "/homeassistant" patch #5

Update notifier_dispatch.py - "/homeassistant" patch

Update notifier_dispatch.py - "/homeassistant" patch #5

Workflow file for this run

on:
release:
types: [published]

Check failure on line 4 in .github/workflows/zip_creation.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/zip_creation.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
permissions:
contents: write
jobs:
zip-files:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v3
- name: 📦 Create zip file for notifier
run: |
cd "${{ github.workspace }}/apps"
zip -r notifier.zip notifier
- name: 📤 Upload the zip file as a release asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "${{ github.workspace }}/apps/notifier.zip"
asset_name: notifier.zip
tag: ${{ github.ref }}
overwrite: true