Skip to content

Commit

Permalink
Update workflows to trigger on branches 'develop' and 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvaneenwyk committed May 18, 2024
1 parent f094617 commit 577afee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: build

on:
push:
branches: [master]
branches: [main, develop]
pull_request:
branches: [master]
branches: [main, develop]

env:
CARGO_TERM_COLOR: always
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
name: Build and deploy Github pages
on:
push:
branches:
- master
branches: [develop]
paths:
- "docs/**"
- "gen-docs.ts"
- "crates/eww/src/widgets/widget_definitions.rs"
- "crates/eww/src/config/inbuilt.rs"
- ".github/workflows/**"

jobs:
build:
name: Build mdBook
runs-on: ubuntu-latest
steps:
# Checkout
- uses: actions/checkout@master
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

# Build widget documentation
- name: Use deno to build widget documentation
Expand Down

0 comments on commit 577afee

Please sign in to comment.