Skip to content

Merge pull request #23 from SignPath/v1.0-release #71

Merge pull request #23 from SignPath/v1.0-release

Merge pull request #23 from SignPath/v1.0-release #71

Workflow file for this run

name: Build
on:
push:
pull_request:
env:
TARGET_REPO_OWNER: SignPath
SUBMIT_SIGNING_REQUEST_TARGET_REPO: github-action-submit-signing-request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install dev dependencies
run: npm install
- name: build the actions
run: npm run build
- name: pushes build result
if: github.ref_type == 'branch'
uses: cpina/github-action-push-to-another-repository@v1.7.2
env:
API_TOKEN_GITHUB: ${{ secrets.PUBLISH_BUILD_GITHUB_TOKEN }}
with:
source-directory: './actions/submit-signing-request/dist'
destination-github-username: ${{ env.TARGET_REPO_OWNER }}
destination-repository-name: ${{ env.SUBMIT_SIGNING_REQUEST_TARGET_REPO }}
user-name: GHA build process
create-target-branch-if-needed: true
commit-message: Build from - ${{ github.sha }}. Original commit message - ${{ github.event.head_commit.message }}
target-branch: ${{ github.ref_name }}