streampipes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rie...@apache.org
Subject [incubator-streampipes-website] branch dev updated: Add github actions workflow
Date Fri, 29 Nov 2019 14:58:26 GMT
This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-website.git


The following commit(s) were added to refs/heads/dev by this push:
     new 9be1cc7  Add github actions workflow
9be1cc7 is described below

commit 9be1cc763bb0d048edf8d8fc1729e02dd11ac5e6
Author: Dominik Riemer <riemer@fzi.de>
AuthorDate: Fri Nov 29 15:58:02 2019 +0100

    Add github actions workflow
---
 .github/workflows/deploy-website.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml
new file mode 100644
index 0000000..af0e39f
--- /dev/null
+++ b/.github/workflows/deploy-website.yml
@@ -0,0 +1,32 @@
+name: Build and Deploy
+
+on:
+  push:
+    branches:
+      - dev
+jobs:
+  build-and-push-to-asf-branch:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+      - name: Setup Node.js
+        uses: actions/setup-node@v1
+        with:
+          node-version: 8.16.2
+      - name: Build Website
+        run: |
+          npm install
+          npm run build-website
+      - name: Build Docs
+        run: |
+          cd documentation
+          npm install
+          npm run build
+          cp -r streampipes-docs/ ../build
+      - name: Deploy
+        uses: peaceiris/actions-gh-pages@v2.4.0
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          PUBLISH_BRANCH: asf-site
+          PUBLISH_DIR: ./build
\ No newline at end of file


Mime
View raw message