Skip to content

A few minor typos.

A few minor typos. #12

Workflow file for this run

name: Documentation
on:
workflow_dispatch:
push:
branches:
- 'trunk'
jobs:
docsite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: nelonoel/[email protected]
- name: install hugo
run: |
sudo snap install hugo --channel=extended
- name: npm install
run: |
cd hugo && npm install
- name: Generate Documentation
run: |
cd hugo && hugo --minify
- uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read
env:
AWS_S3_BUCKET: ${{ secrets.S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.IC_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.IC_AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: hugo/public
DEST_DIR: ${{ env.BRANCH_NAME }}
- name: Invalidate CloudFront
uses: chetan/invalidate-cloudfront-action@v2
env:
DISTRIBUTION: ${{ secrets.DISTRIBUTION }}
PATHS: "/*"
AWS_REGION: "us-east-1"
AWS_ACCESS_KEY_ID: ${{ secrets.IC_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.IC_AWS_SECRET_ACCESS_KEY }}