mirror of
https://github.com/nix-community/emacs-overlay.git
synced 2026-01-27 23:11:15 -08:00
32 lines
680 B
YAML
32 lines
680 B
YAML
name: Update emacs-overlay
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 */4 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
refresh-overlay:
|
|
name: Refresh inputs
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2.3.4
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v13
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
- name: Update inputs
|
|
run: |
|
|
./update
|
|
|
|
- name: Push commit with updated inputs
|
|
run: |
|
|
git config user.name github-actions
|
|
git config user.email github-actions@github.com
|
|
git commit -am "Updated repos/melpa"
|
|
git pull --rebase
|
|
git push
|