Skip to content

Commit

Permalink
ci: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
simongoricar committed Mar 17, 2024
1 parent 04fed39 commit 4b510d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust-build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and test Rust code
name: Build and test

on:
push:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/rust-docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Publish documentation on release
name: Publish documentation

on:
push:
branches: ["master"]
branches:
- "master"
paths:
- "**.rs"
workflow_dispatch:
Expand All @@ -16,7 +17,8 @@ concurrency:

jobs:
build-documentation:
runs-on: self-hosted
if: "!contains(github.event.head_commit.message, '[no docs]')"
runs-on: self-hosted
steps:
- name: Set up required tools
run: sudo apt-get update && sudo apt-get install curl build-essential -y
Expand Down

0 comments on commit 4b510d4

Please sign in to comment.