Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): skip og in deploy previews #189

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Conversation

Sec-ant
Copy link
Member

@Sec-ant Sec-ant commented Apr 29, 2024

Summary

Skip OpenGraph images generation in deploy previews (i.e. deployments from the PR branches). Deployments from the main branch is unaffected.

The environment variable SKIP_OG is used here:

const pages = process.env.SKIP_OG

This will further reduce the build time.

Copy link

netlify bot commented Apr 29, 2024

Deploy Preview for biomejs ready!

Name Link
🔨 Latest commit b90d222
🔍 Latest deploy log https://app.netlify.com/sites/biomejs/deploys/662fd323514a7c0008654fa1
😎 Deploy Preview https://deploy-preview-189--biomejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Sec-ant Sec-ant merged commit 7cde4f7 into main Apr 29, 2024
6 checks passed
@Sec-ant Sec-ant deleted the chore/skip-og-in-preview branch April 29, 2024 17:08
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.

1 participant