Browse Source

Update 'README.md'

天问 1 year ago
parent
commit
c0cd3e5f75
1 changed files with 20 additions and 1 deletions
  1. 20 1
      README.md

+ 20 - 1
README.md

@@ -14,4 +14,23 @@ export SMOKESHOW_AUTH_KEY='QYd85mFqMJsdfdfsssssspg'
 smokeshow upload path/to/upload
 
 
-```
+```
+
+完了之后生成一个链接: https://smokeshow.helpmanual.io/6a3u450w6i5r0h1n053t/
+
+临时网站可以保存一年,生成authkey即可,无需账户,勿滥用。比较牛的地方是请求转发,虽然是子目录中部署,但是却和根目录一样效果。
+
+
+配置GitHub action使用:
+
+```
+      - run: smokeshow upload html
+        env:
+          SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
+          SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 90
+          SMOKESHOW_GITHUB_CONTEXT: coverage
+          SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
+          SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }}
+```
+