You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/12/28 10:28:41 UTC

[apisix-website] 01/01: Create action-tester.yml

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

juzhiyuan pushed a commit to branch juzhiyuan-patch-1
in repository https://gitbox.apache.org/repos/asf/apisix-website.git

commit 3599320bbb9d28bb6034972664801b09422b1255
Author: 琚致远 <ju...@apache.org>
AuthorDate: Mon Dec 28 18:28:34 2020 +0800

    Create action-tester.yml
---
 .github/workflows/action-tester.yml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/.github/workflows/action-tester.yml b/.github/workflows/action-tester.yml
new file mode 100644
index 0000000..8e8c98c
--- /dev/null
+++ b/.github/workflows/action-tester.yml
@@ -0,0 +1,25 @@
+name: Action Tester
+
+on:
+  pull_request:
+    branches: [master]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: make files
+        run: |
+          mkdir -p tester
+          echo -e "hello\nworld" >> tester/helloworld.txt
+      - name: GitHub Pages
+        uses: crazy-max/ghaction-github-pages@v2.0.1
+        with:
+          build_dir: tester
+          target_branch: master
+          keep_history: true
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}