Skip to content

Merge pull request #300 from quarckster/pre-commit-ci-update-config #126

Merge pull request #300 from quarckster/pre-commit-ci-update-config

Merge pull request #300 from quarckster/pre-commit-ci-update-config #126

Workflow file for this run

name: deploy
on:
push:
branches:
- master
tags:
- "*"
jobs:
deploy:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v3
- name: Fix permissions
run: chmod -R a+rw ${PWD}
- name: Build an addon
env:
VERSION: ${{ github.ref_name }}
run: make video_addon
- name: List files
run: ls -lh
- name: Create a release
uses: softprops/action-gh-release@v1
with:
files: video.kino.pub-${{ github.ref_name }}.zip
generate_release_notes: true
fail_on_unmatched_files: true
- name: Deploy to Netlify
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
VERSION: ${{ github.ref_name }}
run: make deploy