Update glossary.md #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Master | |
uses: actions/[email protected] # Latest version as of now | |
- name: Set up Python 3.x | |
uses: actions/[email protected] # Latest version as of now | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install mkdocs | |
pip install mkdocs-material | |
python -m pip install --user awscli | |
- name: Production Build | |
run: mkdocs build | |
- name: List site directory | |
run: ls -R site/ | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-east-1 | |
- name: Deploy to S3 | |
uses: jakejarvis/[email protected] | |
with: | |
args: --delete | |
env: | |
AWS_S3_BUCKET: auditengine.org | |
SOURCE_DIR: "site" | |
DEST_DIR: "docs" | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
- name: Invalidate CloudFront Cache | |
run: | | |
aws cloudfront create-invalidation --distribution-id E276VE8ZNB4QSS --paths "/docs/*" |