Skip to content

Conversation

@2color
Copy link
Member

@2color 2color commented Aug 20, 2025

What

Build and deploy PRs from forks.

How

Same approach as https://github.com/ipfs/ipfs-docs/blob/main/.github/workflows/build.yml using the pull_request_target event.

@2color 2color requested a review from lidel August 20, 2025 10:37
splits workflow to allow fork prs to trigger ipfs deployments
without exposing repo secrets

- build.yml: builds site, uploads artifacts (no secrets)
- deploy.yml: downloads artifacts, deploys to ipfs (has secrets)
- uses ipfs-deploy-action@b491fdc with workflow_run support
@lidel
Copy link
Member

lidel commented Aug 23, 2025

I've pushed alternative approach based on our chat last week.
It depends on:

@lidel lidel merged commit e2c563f into main Aug 23, 2025
3 checks passed
@lidel lidel deleted the ci-deploy-prs branch August 23, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants