ci: fix NUR update endpoint

This commit is contained in:
xeals 2023-02-23 10:50:16 +11:00
parent 5399368853
commit 67adbe7089
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C

View File

@ -1,9 +1,9 @@
name: "Build and populate cache" name: "CI"
on: on:
pull_request: pull_request:
push: push:
jobs: jobs:
tests: build-and-update:
strategy: strategy:
matrix: matrix:
# Set this to notify the global nur package registry that changes are # Set this to notify the global nur package registry that changes are
@ -41,4 +41,4 @@ jobs:
run: nix develop .#ci -c nix-build-uncached ci.nix -A cacheOutputs run: nix develop .#ci -c nix-build-uncached ci.nix -A cacheOutputs
- name: Trigger NUR update - name: Trigger NUR update
if: ${{ matrix.nurRepo != '<YOUR_REPO_NAME>' }} if: ${{ matrix.nurRepo != '<YOUR_REPO_NAME>' }}
run: curl -XPOST "https://nur-update.herokuapp.com/update?repo=${{ matrix.nurRepo }}" run: curl -XPOST "https://nur-update.nix-community.org/update?repo=${{ matrix.nurRepo }}"