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/