Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ runs:
with:
node-version: 'lts/*'
- name: Set up Python 3
uses: actions/setup-python@v5
uses: actions/setup-python@v7 # https://github.com/actions/setup-python
with:
python-version: 3.x
- name: Install Task (taskfile.dev)
uses: arduino/setup-task@v2 # https://github.com/arduino/setup-task
run: npm install -g @go-task/cli
shell: bash
- name: Install required CLIs
run: task setup
shell: bash
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,26 @@ name: CI # Continuous Integration

on:
push:
branches: [ "main" ]
branches:
- "main"
pull_request:
branches: [ "main" ]
branches:
- "main"
workflow_dispatch: {}

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
steps:
- name: Checkout repository
uses: actions/checkout@v4 # https://github.com/marketplace/actions/checkout
uses: actions/checkout@v7 # https://github.com/marketplace/actions/checkout
- name: Setup
uses: ./.github/actions/setup
- name: Lint code
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,42 @@ name: Deploy # Continuously Deployment

on:
push:
branches: [ "main" ]
branches:
- "main"
workflow_dispatch: {}

concurrency:
group: "pages"
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

permissions:
contents: read

env:
SITE_BASE: presentations

jobs:
deploy:
runs-on: ubuntu-latest # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout repository
uses: actions/checkout@v4 # https://github.com/marketplace/actions/checkout
uses: actions/checkout@v7 # https://github.com/marketplace/actions/checkout
- name: Setup
uses: ./.github/actions/setup
- name: Build web content
run: task build
- name: Setup Pages
uses: actions/configure-pages@v4 # https://github.com/actions/configure-pages
uses: actions/configure-pages@v6 # https://github.com/actions/configure-pages
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3 # https://github.com/actions/upload-pages-artifact
uses: actions/upload-pages-artifact@v5 # https://github.com/actions/upload-pages-artifact
with:
path: dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # https://github.com/actions/deploy-pages
uses: actions/deploy-pages@v5 # https://github.com/actions/deploy-pages
12 changes: 10 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,25 @@ python3 -m venv .venv
source .venv/bin/activate
```

Install pur and update Python requirements file:

```bash
pip install pur
pur -r requirements.txt
pip install -r requirements.txt
```

Packages and binaries are required:

```bash
task setup
```

<!-- Disable virtual environment for Python:
Disable virtual environment for Python:

```bash
deactivate
``` -->
```

## Code checks

Expand Down
18 changes: 9 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
click==8.2.1
click==8.4.2
ghp-import==2.1.0
Jinja2==3.1.6
Markdown==3.9
MarkupSafe==3.0.2
Markdown==3.10.2
MarkupSafe==3.0.3
mergedeep==1.3.4
mkdocs==1.6.1
mkdocs-dracula-theme==1.0.8
mkdocs-get-deps==0.2.0
packaging==25.0
pathspec==0.12.1
platformdirs==4.4.0
mkdocs-dracula-theme==1.0.9
mkdocs-get-deps==0.2.2
packaging==26.2
pathspec==1.1.1
platformdirs==4.11.0
python-dateutil==2.9.0.post0
PyYAML==6.0.2
PyYAML==6.0.3
pyyaml_env_tag==1.1
six==1.17.0
watchdog==6.0.0
Loading
Loading