From 0b155c2e0bace3346bbb56208395d832f6f8febd Mon Sep 17 00:00:00 2001 From: wompmacho Date: Tue, 10 Mar 2026 05:57:07 +0000 Subject: [PATCH] testing pipeline --- .gitea/workflows/deploy.yml | 30 +++++++++++++++++++++++++ {.github => .gitea}/workflows/pages.yml | 0 .gitlab-ci.yml | 16 ------------- 3 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 .gitea/workflows/deploy.yml rename {.github => .gitea}/workflows/pages.yml (100%) delete mode 100644 .gitlab-ci.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..3e4ebcf --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,30 @@ +name: Deploy Hugo to Gitea Pages +on: + push: + branches: + - main + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + + - name: Build Hugo + uses: peaceiris/actions-hugo@v3 + with: + hugo-version: 'latest' + + - name: Run Build + run: hugo --minify + + - name: Upload to Gitea Pages + uses: actions/upload-pages-artifact@v3 + with: + path: 'public/' + + - name: Deploy + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.github/workflows/pages.yml b/.gitea/workflows/pages.yml similarity index 100% rename from .github/workflows/pages.yml rename to .gitea/workflows/pages.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 14e7298..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,16 +0,0 @@ -variables: - HUGO_ENV: production - # Blowfish theme relies heavily on these submodules - GIT_SUBMODULE_STRATEGY: recursive - -pages: - # Using the image that actually supports the 'try' function - image: hugomods/hugo:exts - script: - - hugo version - - hugo --gc --minify - # artifacts: - # paths: - # - public - rules: - - if: $CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME \ No newline at end of file