diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/dependabot.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/check-links.yml | 54 | ||||
| -rw-r--r-- | .github/workflows/flake-checker.yml | 18 | ||||
| -rw-r--r-- | .github/workflows/flake-updater.yml | 24 | ||||
| -rw-r--r-- | .github/workflows/page.yml | 45 |
5 files changed, 0 insertions, 147 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 5ace460..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml deleted file mode 100644 index d1c9fe1..0000000 --- a/.github/workflows/check-links.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: 🌐 Check Links - -"on": - pull_request: - branches: [main] - paths: - - "**.md" - - .github/workflows/check-links.yaml - - flake.lock - push: - branches: [main] - paths: - - "**.md" - - .github/workflows/check-links.yaml - - flake.lock - schedule: - # Run once a month on the 28th. - - cron: "0 0 28 * *" - workflow_dispatch: - -jobs: - lychee: - runs-on: ubuntu-latest - permissions: - issues: write - steps: - - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@v17 - - name: Build the site - run: nix build --print-build-logs - - name: Restore lychee cache - uses: actions/cache/restore@v4 - with: - path: .lycheecache - key: lychee-cache - - name: Check links - id: lychee - uses: lycheeverse/lychee-action@v2 - with: - fail: false - args: "./result/**/*.html" - - name: Save lychee cache - uses: actions/cache/save@v4 - if: always() - with: - key: lychee-cache - path: .lycheecache - - name: Create issue - if: steps.lychee.outputs.exit_code != 0 - uses: peter-evans/create-issue-from-file@v5 - with: - title: "[lychee] Broken links" - content-filepath: ./lychee/out.md - labels: bug, automated issue diff --git a/.github/workflows/flake-checker.yml b/.github/workflows/flake-checker.yml deleted file mode 100644 index 97090cd..0000000 --- a/.github/workflows/flake-checker.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: ❄️ Flake Checker - -on: - push: - branches: - - master - schedule: - - cron: "42 0 * * 6" - workflow_dispatch: - -jobs: - flake-checker: - name: Flake Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@v17 - - uses: DeterminateSystems/flake-checker-action@v9 diff --git a/.github/workflows/flake-updater.yml b/.github/workflows/flake-updater.yml deleted file mode 100644 index ba5ac66..0000000 --- a/.github/workflows/flake-updater.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: ❄️ Flake Lock Updater - -on: - workflow_dispatch: - schedule: - - cron: "30 5 * * 0" - -# you need to grant permissions to create PR: -# https://github.com/DeterminateSystems/update-flake-lock/issues/75 -jobs: - update-flake-lock: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@v17 - - uses: DeterminateSystems/update-flake-lock@v24 - with: - token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} - pr-title: "Update flake.lock" - commit-msg: "chore: update flake" - pr-assignees: fcuny - pr-labels: | - dependencies - automated diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml deleted file mode 100644 index ca92f77..0000000 --- a/.github/workflows/page.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: 📦 Deploy to Pages -on: - push: - branches: ["main"] - paths-ignore: - - "README.md" - - "justfile" - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@v17 - - name: ❄️ nix check - run: nix flake check - - name: ❄️ nix fmt - run: nix fmt - - name: ❄️ Build the site - run: nix build - - name: 📦 Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ./result - - deploy: - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 |
