1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-02-13 13:18:35 +02:00

ci(release): remove nightly action

Buggy as hell and in theory users can utilize the latest commit hash
from main branch to get their hands on the latest of Notify.
This commit is contained in:
Niko Köser 2022-09-12 13:10:56 +02:00
parent cbc6fda297
commit 6ae3b26a3e
No known key found for this signature in database
GPG Key ID: F3F28C118DAA6375

View File

@ -1,33 +0,0 @@
name: Deploy Nightly
on:
schedule:
- cron: "0 0 * * *" # Run at 00:00 UTC every day
push:
branches:
- main
jobs:
nightly:
name: Deploy Nightly
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: nightly
steps:
- name: Get current date
id: get_date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Remove old nightly release
uses: dev-drprasad/delete-tag-and-release@v0.2.0
with:
delete_release: true
tag_name: ${{ env.TAG_NAME }}
- name: Create new nightly release
id: create_release
uses: viperproject/create-nightly-release@v1
with:
tag_name: ${{ env.TAG_NAME }}
release_name: Nightly - ${{ steps.get_date.outputs.date }}
keep_num: 0
keep_tags: false