Skip to content

Commit

Permalink
ci(github): add daily automated release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Nov 11, 2023
1 parent 46d51ee commit 4f163be
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 26 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update
run: make update
- name: Create Release Tag
id: tag
run: echo "RELEASE_TAG=v$(date +'%Y.%m.%d')" >> $GITHUB_OUTPUT
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "*.tar.gz"
tag: ${{ steps.tag.outputs.RELEASE_TAG }}
25 changes: 0 additions & 25 deletions .github/workflows/update.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.output/*
!/.output/README.md
/db-dump.tar.gz

/*.tar.gz
Binary file not shown.

0 comments on commit 4f163be

Please sign in to comment.