ci: remove deploy
Lint / Type Check (push) Failing after 39s
Lint / Oxlint (push) Successful in 49s
Lint / ESLint (push) Successful in 1m7s

This commit is contained in:
2026-05-02 19:46:01 +02:00
parent 6beca83fa3
commit 483bea3d46
3 changed files with 4 additions and 61 deletions
-56
View File
@@ -1,56 +0,0 @@
name: Deploy
concurrency:
group: deploy-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- "main"
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: Set up Bun
uses: https://github.com/oven-sh/setup-bun@v2
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies
run: bun ci
- name: Checkout articles repository
uses: actions/checkout@v6
with:
repository: ${{ vars.ARTICLES_REPOSITORY }}
ref: main
token: ${{ secrets.PRIVATE_CLONE_TOKEN }}
path: ./articles
- name: Build project
run: bun run build
- name: Upload production files
uses: actions/upload-artifact@v3
with:
name: production-files
path: dist/
stapler:
name: "Deploy to Stapler"
runs-on: ubuntu-latest
needs: build
if: ${{ vars.STAPLER_TARGET != '' }}
steps:
- name: Download production files
uses: actions/download-artifact@v3
with:
name: production-files
path: ./dist
- name: Compress production files
run: tar -czC dist -f dist.tar.gz .
- name: Upload to Stapler server
run: |
curl -s -X PUT --data-binary "@dist.tar.gz" \
-H 'X-Token: ${{ secrets.STAPLER_TOKEN }}' \
${{ vars.STAPLER_CURL_ARGS }} \
${{ vars.STAPLER_TARGET }}
+3 -3
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Bun
uses: https://github.com/oven-sh/setup-bun@v2
uses: actions/setup-bun@v2
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies
@@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Bun
uses: https://github.com/oven-sh/setup-bun@v2
uses: actions/setup-bun@v2
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies
@@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Bun
uses: https://github.com/oven-sh/setup-bun@v2
uses: actions/setup-bun@v2
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies
+1 -2
View File
@@ -1,5 +1,4 @@
[![](https://git.klemek.fr/klemek/md-blog/actions/workflows/lint.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/md-blog/actions?workflow=lint.yml) [![](https://git.klemek.fr/klemek/md-blog/actions/workflows/deploy.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/md-blog/actions?workflow=deploy.yml)
[![](https://git.klemek.fr/klemek/md-blog/actions/workflows/lint.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/md-blog/actions?workflow=lint.yml)
# md-blog
## Minimal setup