forked from LordMZTE/pythonlang2
CI/CD attempt 1
This commit is contained in:
parent
e8eb8fa6b1
commit
7cb48084db
1 changed files with 21 additions and 0 deletions
21
.drone.yml
Normal file
21
.drone.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: netlify
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branche:
|
||||||
|
- master
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: thibaultmorin/zola:0.13
|
||||||
|
commands:
|
||||||
|
- zola build
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: lucap/drone-netlify
|
||||||
|
settings:
|
||||||
|
secrets: [ netlify-token ]
|
||||||
|
site_id: 829ee496-d986-4092-9229-0f5a7a10c0fc
|
||||||
|
path: ./public
|
||||||
|
depends_on:
|
||||||
|
- build
|
Loading…
Add table
Reference in a new issue