sharpetronics.com/.drone.yml
oDinZu 18e6d22ffc
All checks were successful
continuous-integration/drone/push Build is passing
drone ci plugin purne push branch www-data
2022-05-09 14:06:31 -04:00

38 lines
590 B
YAML

---
kind: pipeline
type: docker
name: build
workspace:
path: /drone/src
platform:
os: linux
arch: amd64
trigger:
branch:
- master
steps:
- name: build-website
image: jekyll/jekyll:4.2.2
privileged: false
volumes:
- name: jekyll
path: /srv/jekyll
commands:
- whoami
- pwd
- ls -al
- chown -R jekyll:jekyll /drone/src
- gem install bundler
- bundle install
- bundle exec jekyll build --trace
- ls -a _site/
- rm _site/docker-compose.yml
- tar -czf www-data.tar.gz _site/*
- ls ww*
- git --version && git status