From 8f6bed5076a00bf6be5bb2df921f77949381186c Mon Sep 17 00:00:00 2001 From: dealjus Date: Tue, 29 Apr 2025 07:21:18 -0700 Subject: [PATCH] test --- .gitea/workflows/deploy.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 1b51b78..5d39d58 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -18,22 +18,25 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Checkout your repository using git + - name: Checkout repository uses: actions/checkout@v4 - name: Use Node.js uses: actions/setup-node@v4 + with: + node-version: '22' # You can also use 18, 16, etc. + cache: 'pnpm' - name: Setup pnpm uses: pnpm/action-setup@v2 + with: + version: 8 # You can change to your preferred pnpm version - - name: Install Dependencies + - name: Install dependencies run: pnpm install - - name: Build Astro Site + - name: Build Astro site run: pnpm run build - - - name: Deploy to Server - run: rsync -avzP ./dist/ root@${{ secrets.SERVER_IP }}:/var/www/justin.deal/ - \ No newline at end of file + - name: Deploy to server + run: rsync -avzP ./dist/ root@${{ secrets.SERVER_IP }}:/var/www/justin.deal/