Add opengraph to the site assets #2
Workflow file for this run
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: Continuous Integration | |
on: | |
# We have deploy there | |
# push: | |
# branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
# Build job | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build in the dev container image | |
uses: devcontainers/[email protected] | |
with: | |
imageName: ghcr.io/oleg-nenashev/oleg-nenashev-site-builder | |
cacheFrom: ghcr.io/oleg-nenashev/oleg-nenashev-site-builder | |
push: never | |
runCmd: | | |
mkdocs build | |
env: | | |
FULL_BUILD=true |