This is an automated email from the ASF dual-hosted git repository. chengpan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi-website.git
commit 46212f77f0e884ff49458ce611f6680485d67cbc Author: Cheng Pan <[email protected]> AuthorDate: Fri Sep 17 13:54:08 2021 +0800 Use GitHub Action to deploy site --- .github/workflows/asf-site.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/asf-site.yml b/.github/workflows/asf-site.yml new file mode 100644 index 0000000..1f1c8ba --- /dev/null +++ b/.github/workflows/asf-site.yml @@ -0,0 +1,28 @@ +name: Deploy ASF site + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: 0.87.0 + extended: true + - name: Build + run: hugo --minify + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: asf-site + publish_dir: ./content
