From 8bd5fd97ee9ce1577667cc2a32da61063f473b16 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Wed, 17 Jun 2026 06:47:06 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20Update=20rsync=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dreamhost.yml | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/.github/workflows/dreamhost.yml b/.github/workflows/dreamhost.yml index 06e5895..c044ef5 100644 --- a/.github/workflows/dreamhost.yml +++ b/.github/workflows/dreamhost.yml @@ -13,36 +13,25 @@ jobs: if: ${{ !contains(github.event.head_commit.message, '#skipGA') }} steps: - - uses: actions/checkout@v6 + - name: Install rsync + run: | + apt-get update + apt-get install rsync + + - name: Checkout code + uses: actions/checkout@v6 - name: Cache node modules id: cache-npm - uses: actions/cache@v5 + uses: actions/setup-node@v6 env: cache-name: cache-node-modules with: - # npm cache files are stored in `~/.npm` on Linux/macOS - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- - - - name: Install npm dependencies - run: npm install + node-version: "22" - name: Run build task run: npm run build - - name: Clean up node modules (not needed to deploy) - run: rm -rf node_modules - - - name: Install rsync - run: | - sudo apt-get update - sudo apt-get install rsync - - name: Deploy to Dreamhost uses: SamKirkland/web-deploy@v1 with: