Skip to content

Update index.md (#37) #5

Update index.md (#37)

Update index.md (#37) #5

name: build and deploy docs-site to GitHub Pages
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build-docs-site:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup GH Pages
uses: actions/configure-pages@v2
- run: docker-compose run --rm site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./foliant-docs.mkdocs
deploy-docs-site:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build-docs-site
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1