Cache deps
All checks were successful
/ deploy (push) Successful in 1m33s

This commit is contained in:
Aleks Rutins 2025-06-10 17:06:06 -04:00
parent 2a481ed6b3
commit a4929cf5d7
Signed by: asr
SSH key fingerprint: SHA256:DBype7RrB3qCdOLdkvecD2Y3THOYgYOVw6jAHVgsGRQ
3 changed files with 16 additions and 68 deletions

View file

@ -1,11 +1,18 @@
on: [push]
jobs:
deploy:
runs-on: selfhosted
steps:
- uses: actions/checkout@v4
- run: |
npm ci
bundle install
TAILWINDCSS_INSTALL_DIR=node_modules/.bin bundle exec ruby build.rb
cp -rf _build/* /srv/farthergate.com/
deploy:
runs-on: selfhosted
steps:
- uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
node_modules
vendor/bundle
- name: Install dependencies
run: npm ci && bundle install
- name: Build site
run: TAILWINDCSS_INSTALL_DIR=node_modules/.bin bundle exec ruby build.rb
- name: Deploy site
run: cp -rf _build/* /srv/farthergate.com/