This is an automated email from the ASF dual-hosted git repository.
cnryb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git
The following commit(s) were added to refs/heads/master by this push:
new 06a91da Create main.yml
06a91da is described below
commit 06a91da03f58ee2421853d0145aa7602931d7d9c
Author: 任跃兵 <[email protected]>
AuthorDate: Thu Nov 5 22:23:44 2020 +0800
Create main.yml
---
.github/workflows/main.yml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..2d00b9a
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,23 @@
+name: deploy site
+
+on:
+ push:
+ branches: [ master ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Build
+ run: sh ./scripts/build.sh
+
+ - name: Deploy
+ uses: JamesIves/github-pages-deploy-action@releases/v3
+ with:
+ ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ BRANCH: asf-site
+ FOLDER: .deploy_git
+