You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2021/10/15 07:23:30 UTC
[incubator-inlong-website] branch master updated: [INLONG-1638]
Adapt new github action command (#150)
This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong-website.git
The following commit(s) were added to refs/heads/master by this push:
new 2f3085e [INLONG-1638] Adapt new github action command (#150)
2f3085e is described below
commit 2f3085e1862db055592331a33f3dbfe32eb6ffe1
Author: Daniel <le...@outlook.com>
AuthorDate: Fri Oct 15 15:23:20 2021 +0800
[INLONG-1638] Adapt new github action command (#150)
---
.github/workflows/deploy.yml | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 691ae55..7328753 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -16,14 +16,12 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 12.13.0
- # - name: Build
- # run: |
- # mkdir dist && npm install && npm run build
- # - name: Cp File
- # run: cp -r docs/zh-cn/* ./zh-cn/docs && cp -r docs/en-us/* ./en-us/docs && cp -r 404.html .asf.yaml index.html en-us zh-cn build img docs dist/
- # - name: Deploy
- # uses: peaceiris/actions-gh-pages@v2.4.0
- # env:
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # PUBLISH_BRANCH: asf-site
- # PUBLISH_DIR: ./dist
+ - name: Build
+ run: |
+ npm install && npm run build
+ - name: Deploy
+ uses: peaceiris/actions-gh-pages@v2.4.0
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ PUBLISH_BRANCH: asf-site
+ PUBLISH_DIR: ./build