Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 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 19484a1 + 09cf843 commit 817882c
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 817882c

Please sign in to comment.