Merge Next into Master #1

Merged
thomascole merged 20 commits from next into master 2023-04-13 12:21:08 -04:00
Showing only changes of commit 3044747580 - Show all commits

View File

@ -2,38 +2,12 @@ kind: pipeline
name: buildsite name: buildsite
steps: steps:
- name: restore_cache
image: appleboy/drone-sftp-cache
settings:
server: 192.168.10.5
port: 22
username: thomas
password:
from_secret: ssh_password
path: /tmp/drone
restore: true
mount:
- node_modules
- name: build - name: build
image: node image: node
commands: commands:
- npm install - npm install
- npm run build - npm run build
- name: rebuild_cache
image: appleboy/drone-sftp-cache
settings:
server: 192.168.10.5
port: 22
username: thomas
password:
from_secret: ssh_password
path: /tmp/drone
rebuild: true
mount:
- node_modules
- name: copy - name: copy
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
@ -45,3 +19,7 @@ steps:
target: /home/thomas/swag/www target: /home/thomas/swag/www
source: ./dist/* source: ./dist/*
strip_components: 1 strip_components: 1
when:
branch:
- master