Trigger publish-plugin #65
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Plugins | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - feature/** | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| packages: write | |
| steps: | |
| - name: Publish Backstage plugins | |
| id: publish_plugins | |
| uses: bcgov/aps-devops/publish-backstage-plugins@aps-4105-connect-pipelines | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| dispatch_repo: 'bcgov/csit-developer-portal-poc' | |
| dispatch_token: ${{ secrets.CSIT_DEVELOPER_PORTAL_PAT }} | |
| dispatch_workflow: 'build-update-gitops.yaml' | |
| dispatch_branch: 'aps-4105-connect-pipelines' | |
| - name: Show publish outputs | |
| shell: bash | |
| run: | | |
| echo "Version: ${{ steps.publish_plugins.outputs.version }}" | |
| echo "Plugin count: ${{ steps.publish_plugins.outputs.plugin_count }}" | |
| echo 'Published packages: ${{ steps.publish_plugins.outputs.published_package_versions }}' | |
| echo 'Target repo status: ${{ steps.publish_plugins.outputs.target_repo_status }}' |