mirror of
https://github.com/nikoksr/notify.git
synced 2025-02-11 13:15:34 +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:
parent
cbc6fda297
commit
6ae3b26a3e
33
.github/workflows/nightly-release.yml
vendored
33
.github/workflows/nightly-release.yml
vendored
@ -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
|
Loading…
x
Reference in New Issue
Block a user