Skip to content

Commit

Permalink
Corrigido problema em CI adicionando a compilação SASS
Browse files Browse the repository at this point in the history
  • Loading branch information
DaviAMSilva committed Sep 27, 2024
1 parent 353e10d commit b92c608
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,14 @@ jobs:
restore-keys: |
mkdocs-material-
- run: pip install -r requirements.txt
- run: mkdir docs/stylesheets
- name: Compilando SASS
uses: gha-utilities/sass-build@v0.6.0
with:
source: |
docs/scss/extra.scss
docs/scss/home.scss
destination: |
docs/stylesheets/extra.css
docs/stylesheets/home.css
- run: mkdocs gh-deploy --force
22 changes: 10 additions & 12 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: Verificar arquivos markdown
on:
push:
paths:
- '**.md'
- "**.md"
pull_request:
paths:
- '**.md'

- "**.md"
jobs:
lint:
name: Verifica arquivos markdown
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
config: .markdownlint.jsonc
globs: |
**.md
!venv
!node_modules
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
config: .markdownlint.jsonc
globs: |
**.md
!venv

0 comments on commit b92c608

Please sign in to comment.