Skip to content

Merge pull request #104 from maximevw/add-aws-keyspaces #196

Merge pull request #104 from maximevw/add-aws-keyspaces

Merge pull request #104 from maximevw/add-aws-keyspaces #196

Workflow file for this run

name: Publish Site
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 #needed for mkdocs-git-revision-date-localized-plugin
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install --no-cache-dir \
mkdocs-material \
mkdocs-git-revision-date-localized-plugin \
mkdocs-awesome-pages-plugin \
mkdocs-redirects \
mkdocs-macros-plugin
- run: mkdocs build -s -d _site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1