Skip to content

Commit

Permalink
[docs-beta] push to prod on PRs (#24357)
Browse files Browse the repository at this point in the history
## Summary & Motivation

## How I Tested These Changes

## Changelog

Insert changelog entry or "NOCHANGELOG" here.

NOCHANGELOG
  • Loading branch information
PedramNavid authored Sep 10, 2024
1 parent 02b3f37 commit ccbf6ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-docs-revamp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ jobs:

- name: Publish to Vercel Production
uses: amondnet/vercel-action@v25
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: |
github.event_name == 'pull_request' ||
(github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/heads/docs-prod')))
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
Expand Down

1 comment on commit ccbf6ab

@github-actions
Copy link

@github-actions github-actions bot commented on ccbf6ab Sep 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for dagster-docs-beta ready!

✅ Preview
https://dagster-docs-beta-p2or3b1eq-elementl.vercel.app
https://dagster-docs-beta.dagster-docs.io

Built with commit ccbf6ab.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.