This repository has been archived on 2024-01-29. You can view files and clone it, but cannot push or open issues or pull requests.
distributed_system_coursework/.drone.yml

28 lines
657 B
YAML
Raw Normal View History

2024-01-08 14:24:20 +00:00
---
kind: pipeline
type: exec
name: Build and deploy
steps:
- name: Build Presentation
commands:
- cd presentation
- marp presentation.md -o index.html
- cp * /home/andr3/services/notes/presentation
2024-01-19 18:45:43 +00:00
- name: Create release
commands:
- cp lib/server.ex .
- zip server.zip server.ex README.md
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN$
- tea r rm -y latest || echo "Release not found"
- tea r c --title "Latest" --asset "README.md" --asset "lib/paxos.ex" --asset "lib/server.ex" --asset "server.zip" latest
2024-01-08 14:24:20 +00:00
trigger:
branch:
- main
node:
lights: builder