Skip to content

Merge pull request #109 from bold-commerce/version-bump-2.2.0 #46

Merge pull request #109 from bold-commerce/version-bump-2.2.0

Merge pull request #109 from bold-commerce/version-bump-2.2.0 #46

name: Trigger workflow
on:
push:
branches:
- main
jobs:
create_release:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Github REST API Call
env:
CI_TOKEN: ${{ secrets.access_token }}
REMOTE_REPO: bold-commerce/magento-2.3-sandbox-store
WORKFLOW_ID: 72597118
run: |
curl -fL --retry 3 -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ env.CI_TOKEN }}" https://api.github.com/repos/${{ env.REMOTE_REPO }}/actions/workflows/${{ env.WORKFLOW_ID }}/dispatches -d '{"ref":"main"}'