processing4 icon indicating copy to clipboard operation
processing4 copied to clipboard

Automatically update the website releases based on the Github Release status

Open Stefterv opened this issue 1 year ago • 4 comments

Relevant sub-area for this feature?

Build process

Feature description

In theory we can add a Github Action to this repo that will trigger an update workflow on the processing-website repository

steps:
  - name: Trigger workflow
    uses: actions/github-script@v7
    with:
      github-token: ${{ secrets.PAT_TOKEN }}
      script: |
        await github.rest.actions.createWorkflowDispatch({
          owner: 'processing',
          repo: 'processing-website',
          workflow_id: 'release.yml',
          ref: 'main'
        })

Benefits

This would simplify the release process and remove an extra step

Possible challenges

It also creates more coupling between the two repositories than I am comfortable with...

Additional context

No response

Stefterv avatar Dec 12 '24 13:12 Stefterv