Skip to content

ntfy-refresh-client shellchack fix and move to new file #412

ntfy-refresh-client shellchack fix and move to new file

ntfy-refresh-client shellchack fix and move to new file #412

Workflow file for this run

name: Nix Flake Check
on:
pull_request:
paths:
- '**.nix'
- '**.age'
- '.github/workflows/check.yml'
push:
branches:
- 'main'
paths:
- '**.nix'
- '**.age'
- '.github/workflows/check.yml'
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix flake check
auto-update:
runs-on: ubuntu-latest
needs: check
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git checkout -b auto-update && git reset --hard origin/main && git push origin auto-update -f
- run: curl -d "Github Actions Update" ntfy.sh/${{ secrets.NTFY_UPDATE_TOPIC }}