ci: adapt workflow for Forgejo Actions (add rsync install step, remove cache)
All checks were successful
Deploy to OVH VPS / deploy (push) Successful in 2m1s

This commit is contained in:
Lorenzo Iovino 2026-02-07 17:48:14 +01:00
parent 18c950a41e
commit 8102229a00

View file

@ -22,20 +22,6 @@ jobs:
with: with:
version: 10 version: 10
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies - name: Install dependencies
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
@ -45,6 +31,9 @@ jobs:
- name: Build - name: Build
run: pnpm build run: pnpm build
- name: Install rsync
run: apt-get update -qq && apt-get install -y -qq rsync openssh-client > /dev/null 2>&1
- name: Setup SSH key - name: Setup SSH key
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh