feat: multiple image formats support (webp, avif) #557
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: 'Documentation' | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'docs/**.md' | |
pull_request: | |
paths: | |
- 'docs/**.md' | |
jobs: | |
deploy: | |
name: Deploy documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Markdown lint | |
uses: DavidAnson/markdownlint-cli2-action@v16 | |
with: | |
config: .markdownlint.yaml | |
globs: | | |
'docs/**.md' | |
continue-on-error: true | |
- name: Push files | |
run: bash ./scripts/deploy-docs.sh | |
env: | |
TARGET_BRANCH: ${{ github.head_ref || github.ref_name }} | |
GITHUB_TOKEN: ${{ secrets.REPOS_TOKEN }} |