Skip to content

Commit

Permalink
Fixes Workflow after Branch was renamed in Campus-Flutter (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobkoerber authored Oct 30, 2023
1 parent c304432 commit 4870d02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/client_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
paths:
- 'server/api/tumdev/campus_backend.proto'

workflow_dispatch:

jobs:
deploy:
runs-on: macos-latest
Expand Down Expand Up @@ -36,7 +38,7 @@ jobs:
echo "BRANCH_NAME=chore/update-protos-to-\$LATEST_TAG" >> $GITHUB_ENV
- name: Clone Repository
run: git clone --depth=1 --branch=development https://runner:${{ secrets.CAMPUS_FLUTTER_TOKEN }}@github.com/${{ env.REPOSITORY }} ${{ env.FOLDER }}
run: git clone --depth=1 --branch=main https://runner:${{ secrets.CAMPUS_FLUTTER_TOKEN }}@github.com/${{ env.REPOSITORY }} ${{ env.FOLDER }}

- name: Update Proto Files
run: |
Expand Down Expand Up @@ -74,7 +76,7 @@ jobs:
--body "" \
--title "Chore: Update Protos to ${{ env.LATEST_TAG }}" \
--head "${{ env.BRANCH_NAME }}" \
--base "development"
--base "main"
- name: Error Message
if: steps.commit.outcome != 'success'
Expand Down

0 comments on commit 4870d02

Please sign in to comment.