-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary & Motivation Set up a new site to view the docs-revamp. ## How I Tested These Changes Inspection
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Deploy Docs Revamp | ||
on: | ||
push: | ||
branches: | ||
- docs/revamp | ||
paths: | ||
- docs/docs-next | ||
- .github/workflows/build-docs-revamp.yml | ||
concurrency: | ||
# Cancel in-progress runs on same branch | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout docs/revamp branch | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/docs/revamp' | ||
uses: actions/checkout@v4 | ||
|
||
- name: Publish Preview to Vercel | ||
uses: amondnet/vercel-action@v25 | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/docs/revamp' | ||
with: | ||
github-comment: ${{ true }} | ||
vercel-token: ${{ secrets.VERCEL_TOKEN }} | ||
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} | ||
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | ||
vercel-args: "--prod" | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
scope: ${{ secrets.VERCEL_ORG_ID }} | ||
alias-domains: dagster-docs-next.dagster.dagster-docs.io |
f04bd0f
There was a problem hiding this comment.
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 ready!
✅ Preview
https://dagster-docs-q9fwqeu5u-elementl.vercel.app
https://dagster-docs-next.dagster.dagster-docs.io
Built with commit f04bd0f.
This pull request is being automatically deployed with vercel-action