This is an automated email from the ASF dual-hosted git repository.

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

commit 9be1cc763bb0d048edf8d8fc1729e02dd11ac5e6
Author: Dominik Riemer <[email protected]>
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/[email protected]
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          PUBLISH_BRANCH: asf-site
+          PUBLISH_DIR: ./build
\ No newline at end of file

Reply via email to