From 24aa6ef4ee34fe0646db70f6e43578cc3c8b97fb Mon Sep 17 00:00:00 2001 From: JasterV <49537445+JasterV@users.noreply.github.com> Date: Tue, 3 Mar 2026 16:35:03 +0100 Subject: [PATCH] refactor: move CI to woodpecker --- .github/dependabot.yml | 11 -------- .github/workflows/ci.yml | 34 ------------------------- .github/workflows/deploy.yml | 49 ------------------------------------ .woodpecker/ci.yml | 10 ++++++++ .woodpecker/deploy.yml | 18 +++++++++++++ 5 files changed, 28 insertions(+), 94 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/deploy.yml create mode 100644 .woodpecker/ci.yml create mode 100644 .woodpecker/deploy.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 8f8e442..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,11 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file - -version: 2 -updates: - - package-ecosystem: "bun" # See documentation for possible values - directory: "/" # Location of package manifests - schedule: - interval: "daily" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 8228f06..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Run CI checks - -on: - pull_request: - branches: - - "main" - - workflow_call: - -jobs: - ci: - name: CI - runs-on: ubuntu-latest - steps: - - name: 🚚 Get latest code - uses: actions/checkout@v4 - - # https://d2lang.com/tour/install/ - - name: Install D2 - run: | - curl -fsSL https://d2lang.com/install.sh | sh -s -- - - - name: Install bun - uses: oven-sh/setup-bun@v1 - with: - bun-version: latest - - - name: Install dependencies - run: | - bun install - - - name: Run check - run: | - bun run check diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 7f6f99a..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,49 +0,0 @@ -# Simple workflow for deploying static content to GitHub Pages -name: 🚀 Deploy website on push - -on: - # Runs on pushes targeting the default branch - push: - branches: ["main"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -jobs: - ci: - uses: ./.github/workflows/ci.yml - secrets: inherit - - web-deploy: - name: 🎉 Deploy - runs-on: ubuntu-latest - steps: - - name: 🚚 Get latest code - uses: actions/checkout@v4 - - # https://d2lang.com/tour/install/ - - name: Install D2 - run: | - curl -fsSL https://d2lang.com/install.sh | sh -s -- - - - name: Install bun - uses: oven-sh/setup-bun@v1 - with: - bun-version: latest - - - name: Install dependencies - run: | - bun install - - - name: 🔨 Build Project - run: | - bun run build - - - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@v4.3.4 - with: - local-dir: dist/ - server-dir: / - server: ${{ secrets.FTP_HOST }} - username: ${{ secrets.FTP_USERNAME }} - password: ${{ secrets.FTP_PASSWORD }} diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml new file mode 100644 index 0000000..f81cfc2 --- /dev/null +++ b/.woodpecker/ci.yml @@ -0,0 +1,10 @@ +when: + - event: [push, pull_request] + branch: main + +steps: + check: + image: oven/bun:debian + commands: + - bun install + - bun run check diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml new file mode 100644 index 0000000..c40db88 --- /dev/null +++ b/.woodpecker/deploy.yml @@ -0,0 +1,18 @@ +# Simple workflow for deploying static content to GitHub Pages +when: + - event: push + branch: main + +depends_on: + - ci + +steps: + build: + image: oven/bun:debian + commands: + # Install curl & make + - apt-get update && apt-get install -y curl make + # Install D2 + - curl -fsSL https://d2lang.com/install.sh | sh -s -- + - bun install + - bun run build