mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
feat: add github ci for nightly version
This commit is contained in:
parent
7ff52678e1
commit
b307e92b09
2 changed files with 132 additions and 0 deletions
30
.github/workflows/update-nightly.yml
vendored
Normal file
30
.github/workflows/update-nightly.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: Update Hermes Agent Nightly
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run daily at 04:00 UTC
|
||||
- cron: "0 4 * * *"
|
||||
workflow_dispatch: {}
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v13
|
||||
|
||||
- name: Run nightly updater
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
git config user.name "nix-hermes-agent-bot"
|
||||
git config user.email "bot@nix-hermes-agent.local"
|
||||
scripts/update-nightly.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue