From acd5607b2685db1f826f596f664892b95085de29 Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 28 Nov 2023 23:51:52 +0100 Subject: [PATCH] feat: migrate from woodpecker to forgejo actions --- .forgejo/workflows/firmware.yml | 18 ++++++++++++++++++ .woodpecker.yml | 8 -------- 2 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 .forgejo/workflows/firmware.yml delete mode 100644 .woodpecker.yml diff --git a/.forgejo/workflows/firmware.yml b/.forgejo/workflows/firmware.yml new file mode 100644 index 0000000..7b7a1cb --- /dev/null +++ b/.forgejo/workflows/firmware.yml @@ -0,0 +1,18 @@ +--- + +on: push + +jobs: + + firmware: + runs-on: docker + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - name: prepare environment + run: | + apt update; apt install --yes python3-pip + pip3 install platformio + - name: build firmware image + run: | + cd esp + pio run diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index 316c784..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -pipeline: - - firmware: - image: shaguarger/platformio@sha256:957b051ef5de99efc9a65d4444c5adeeb2fdda7d1b60fe747b6a7feb7ab368ee - commands: - - cd esp - - pio run