Skip to content

add desc for captcha threshold settings #225

add desc for captcha threshold settings

add desc for captcha threshold settings #225

Workflow file for this run

name: docs workflow
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
with:
submodules: recursive # Fetch Hugo themes
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12'
- run: npm install
- name: Textlint
run: npm run test
- name: Hugo setup
uses: peaceiris/actions-hugo@v2
with:
# The Hugo version to download (if necessary) and use. Example: 0.58.2
hugo-version: '0.75.1'
# Download (if necessary) and use Hugo extended version. Example: true
extended: true
- name: Build
run: hugo --minify
env:
HUGO_ENV: production
- name: Deploy s3
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'ap-northeast-1'
SOURCE_DIR: 'public'
DEST_DIR: 'docs'
- name: Invalidate CF
uses: chetan/invalidate-cloudfront-action@v1.3
env:
DISTRIBUTION: ${{ secrets.AWS_CF_DISTRIBUTION }}
PATHS: '/docs/*'
AWS_REGION: 'us-east-1'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
#- name: Deploy gh-pages branch
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./public