Skip to content

Commit

Permalink
use hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
pypeaday committed Jan 5, 2024
1 parent e91d692 commit af7ecf5
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
# This is a basic workflow to help you get started with Actions

name: 🌱 Build using markata

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: ["*"]
branches:
- '*'
pull_request:
branches: ["main"]
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand All @@ -27,14 +27,11 @@ jobs:
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: "3.10"

- name: install markata
python-version: '3.10'
- name: install hatch
run: pip install markata

- name: build with markata
run: markata build

- name: build
run: hatch run build
- name: GitHub Pages
uses: crazy-max/[email protected]
with:
Expand Down

0 comments on commit af7ecf5

Please sign in to comment.