Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Simon committed Sep 20, 2024
1 parent 4d1da5e commit 9a21f16
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deply-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ on:
tags:
- 'v*.*.*'
branches:
- master
- main

jobs:
build:

runs-on: ubuntu-latest


steps:
- uses: actions/checkout@v1

Expand All @@ -22,11 +21,14 @@ jobs:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true

- name: Install dependencies
run: poetry install

- name: Build documentation
run: |
make docs
- name: Deploy docs to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/distribution.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
on: [push]
on:
push:
branches:
- main

name: Make distribution

Expand All @@ -16,13 +19,17 @@ jobs:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true

- name: Install Dependencies
run: poetry install

- name: Install Graphviz dependency
run: sudo apt install graphviz

- name: Build project
run: |
make distribution
- name: Upload distribution to workflow tab
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 9a21f16

Please sign in to comment.