Skip to content

MyPublisher

MyPublisher #4

Workflow file for this run

name: 'MyPublisher'
on:
workflow_dispatch:
jobs:
Initialization:
runs-on: [ ubuntu-latest ]
steps:
- name: Trigger another workflow
uses: octokit/request-action@v2.x
with:
route: POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
workflow_id: PublishToEnvironment.yaml
ref: main
inputs: '{"appVersion":"Current", "environmentName": "PROD"}'
env:
GITHUB_TOKEN: ${{ secrets.GHTOKENWORKFLOW }}