Skip to content

Commit

Permalink
change api-gen trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
archeoss committed Sep 19, 2023
1 parent 79b2965 commit 9281ce0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Set Bob GUI version
run: echo "VERSION=$(cargo metadata --format-version=1 --no-deps | jq '.packages[0].version' --raw-output)" >> $GITHUB_ENV
run: echo "VERSION=$(cargo metadata --format-version=1 --no-deps | jq '.packages[0].version' --raw-output)" >> "$GITHUB_ENV"
- name: Build alpine image
uses: docker/build-push-action@v5
with:
context: .
file: dockerfiles/alpine/Dockerfile
tags: bob-gui:$VERSION
tags: bob-gui:${{ env.VERSION }}
7 changes: 5 additions & 2 deletions .github/workflows/gen-openapi.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: update-api-schema

on: [push]

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
push:
branches: [main]
jobs:
gen-openapi:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9281ce0

Please sign in to comment.