Skip to content

Commit

Permalink
updates to workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Maredia <[email protected]>
  • Loading branch information
alimaredia committed Jan 3, 2025
1 parent 5605c5d commit fdf5559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: Apache-2.0

name: Lint Markdown documents
name: Build Docs Website

on:
push:
Expand All @@ -10,15 +10,15 @@ on:
paths:
- '**/*.md'
- '.markdownlint-cli2.yaml'
- '.github/workflows/docs.yml' # This workflow
- '.github/workflows/build-docs.yml' # This workflow
pull_request:
branches:
- "main"
- "release-**"
paths:
- '**/*.md'
- '.markdownlint-cli2.yaml'
- '.github/workflows/docs.yml' # This workflow
- '.github/workflows/build-docs.yml' # This workflow

env:
LC_ALL: en_US.UTF-8
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,3 @@ jobs:
uses: DavidAnson/markdownlint-cli2-action@eb5ca3ab411449c66620fe7f1b3c9e10547144b0 # v18.0.0
with:
globs: '**/*.md'
docs:
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: _build/
force_orphan: true

0 comments on commit fdf5559

Please sign in to comment.