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

Commit

Permalink
Merge branch '15.0-develop' of https://github.com/OpenG2P/openg2p-auth
Browse files Browse the repository at this point in the history
…into 15.0-develop
  • Loading branch information
shivamg9 committed Feb 8, 2024
2 parents 5d3e747 + 757e65f commit 0ffb4a1
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 0ffb4a1

Please sign in to comment.