Skip to content

Commit

Permalink
Merge pull request #34 from unb-mds/33-actions-workflow
Browse files Browse the repository at this point in the history
Adicionei arquivos YML para o workflow do Actions
  • Loading branch information
PhFariaa authored Apr 25, 2024
2 parents ddebaec + 645802a commit 5034855
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy GitHub Pages

on:
push:
branches:
- main
paths:
- 'docs/**'

permissions:
contents: write

jobs:
docs:
name: mkdocs deploy
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x

- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
22 changes: 22 additions & 0 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint Code

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: "main"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5034855

Please sign in to comment.