Skip to content

Commit

Permalink
updates for October 2024 (#48)
Browse files Browse the repository at this point in the history
* use uv, update a few posts

* add tmate debugging
  • Loading branch information
hrodmn authored Oct 7, 2024
1 parent 4eb7661 commit 75631be
Show file tree
Hide file tree
Showing 13 changed files with 2,019 additions and 643 deletions.
49 changes: 29 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
pull_request:
branches: main
push:
Expand All @@ -14,29 +20,27 @@ jobs:
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
cache: 'pip'
- uses: actions/checkout@v4

- name: Set up docker
uses: docker-practice/[email protected]
timeout-minutes: 12
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Install system dependencies
run: sudo apt update && sudo apt install ghostscript python3-tk

- name: Install uv
uses: astral-sh/setup-uv@v3

- name: Install Python packages
run: pip install -r requirements.txt
- name: Set up Python
run: uv python install

- name: Install the project
run: uv sync --all-extras --dev

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true

- name: Make .netrc
env:
Expand All @@ -55,12 +59,17 @@ jobs:
GDAL_DISABLE_READDIR_ON_OPEN: YES
GDAL_HTTP_COOKIEJAR: /tmp/cookies.txt
GDAL_HTTP_COOKIEFILE: /tmp/cookies.txt
uses: quarto-dev/quarto-actions/render@v2
run: |
uv run quarto render
- name: Publish
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: quarto-dev/quarto-actions/publish@v2
with:
target: netlify
render: "false"
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

- name: Setup tmate session
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
uses: mxschmitt/action-tmate@v3
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
/env/
**/.jupyter_cache/**
/hidden*
**/.ipynb_checkpoints/**
hrodmn.dev.egg-info/
7 changes: 0 additions & 7 deletions _freeze/site_libs/clipboard/clipboard.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions _freeze/site_libs/quarto-listing/list.min.js

This file was deleted.

243 changes: 0 additions & 243 deletions _freeze/site_libs/quarto-listing/quarto-listing.js

This file was deleted.

10 changes: 6 additions & 4 deletions about.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ format-links: false

::: {.content-visible when-format="html"}

I am a software engineer at [NCX](https://ncx.com) where I write code to run our
natural capital marketplace.
I am a cloud engineer at [Development Seed](https://developmentseed.org) where I write code to make geospatial data more accessible to all users.
My educational background is in forestry and statistics, but I have spent most
of the last decade honing my programming skills on the job at NCX (formerly
of the last decade honing my programming skills on the job at Development Seed and NCX (formerly
SilviaTerra).
My programming specialty is building clean and elegant systems for processing
geospatial data.
Expand All @@ -50,7 +49,10 @@ geospatial data.

## Experience

**Senior Software Engineer** NCX, Remote | December 2023 - present
**Cloud Engineer** Development Seed | May 2024 - Present


**Senior Software Engineer** NCX, Remote | December 2023 - May 2024

* Designed and maintained a network of live applications that serve the NCX
platform
Expand Down
Loading

0 comments on commit 75631be

Please sign in to comment.