aboutsummaryrefslogtreecommitdiff
path: root/.github/main.workflow
diff options
context:
space:
mode:
authorGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-22 15:40:06 +0200
committerGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-22 15:40:06 +0200
commitddce2bd3c66a62cb96b2b7ef0602c00c586c429b (patch)
treeb5cd3261c2a65fbd131d78b2ecce2f9100a21104 /.github/main.workflow
downloadgenpass-ddce2bd3c66a62cb96b2b7ef0602c00c586c429b.tar.gz
genpass-ddce2bd3c66a62cb96b2b7ef0602c00c586c429b.tar.bz2
genpass-ddce2bd3c66a62cb96b2b7ef0602c00c586c429b.zip
Bootstrap web site
Diffstat (limited to '.github/main.workflow')
-rw-r--r--.github/main.workflow31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/main.workflow b/.github/main.workflow
new file mode 100644
index 0000000..995aac3
--- /dev/null
+++ b/.github/main.workflow
@@ -0,0 +1,31 @@
+workflow "Build" {
+ on = "push"
+ resolves = ["Deploy to pages"]
+}
+
+action "Test" {
+ uses = "./.github/action"
+ args = "test"
+}
+
+action "Covergage" {
+ uses = "./.github/action"
+ args = "lein cloverage --junit"
+ needs = ["Test"]
+}
+
+action "Package" {
+ uses = "./.github/action"
+ args = "package"
+ needs = ["Covergage"]
+}
+
+action "Deploy to pages" {
+ uses = "JamesIves/github-pages-deploy-action@master"
+ env = {
+ BRANCH = "gh-pages"
+ FOLDER = "public"
+ }
+ secrets = ["ACCESS_TOKEN"]
+ needs = ["Package"]
+}