Skip to content

Commit

Permalink
[WIP] Test drone.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gnomeria committed Jan 7, 2020
1 parent cd6e84e commit 62b3d6d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
kind: pipeline
name: default

steps:
- name: restore-yarn-cache
image: meltwater/drone-cache:1.0.4
environment:
AWS_ACCESS_KEY_ID:
from_secret: AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: AWS_SECRET_ACCESS_KEY
pull: true
settings:
pull: true
restore: true
cache_key: "yarn"
bucket: qoala-build-drone-cache
region: ap-southeast-1
mount:
- ".yarn-cache"
when:
branch:
include:
- master
- rc
- release

cache:
mount:
- node_modules
- .git

0 comments on commit 62b3d6d

Please sign in to comment.