Skip to content

Commit

Permalink
Merge pull request #19 from gaganamadival/15.0-develop
Browse files Browse the repository at this point in the history
added workflow to trigger packaging action
  • Loading branch information
shibu-narayanan authored Feb 7, 2024
2 parents 517f8b4 + cc6eee1 commit dd87538
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Trigger OpenG2P Packaging Workflow

on:
push:
workflow_dispatch:

jobs:
trigger-packaging:
runs-on: ubuntu-latest
steps:
- name: set variables
run: |
echo "BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's,.*/\(.*\),\1,')" >> $GITHUB_ENV
- name: Invoke workflow in another repo with inputs
uses: aurelien-baudet/workflow-dispatch@v2
with:
token: ${{ secrets.GIT_PUSH_TOKEN }}
repo: OpenG2P/openg2p-packaging
workflow: OpenG2P Odoo Package Dockers build
input: "{\"packageName\": \"${{ env.BRANCH_NAME }}\"}"
ref: main

0 comments on commit dd87538

Please sign in to comment.