Skip to content

docs: fix typos & co (#85) #80

docs: fix typos & co (#85)

docs: fix typos & co (#85) #80

Workflow file for this run

name: Continuous Delivery
on:
push:
branches: [ "main" ]
jobs:
publish-docker:
environment: Production
name: "Build & Push docker image (dev)"
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Log in to the GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ github.repository }}
ghcr.io/${{ github.repository }}
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ github.repository }}:dev
ghcr.io/${{ github.repository }}:dev
labels: ${{ steps.meta.outputs.labels }}
- name: Update docker hub description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ github.repository }}
enable-url-completion: true
publish-docs:
name: "Deploy documentation"
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: Documentation Center
url: ${{ steps.deployment.outputs.page_url }}
defaults:
run:
working-directory: docs
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build docusaurus
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload docs build
uses: actions/upload-pages-artifact@v2
with:
path: docs/build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2