Skip to content

Commit

Permalink
vercel docs revamp (#23595)
Browse files Browse the repository at this point in the history
## Summary & Motivation
Set up a new site to view the docs-revamp.

## How I Tested These Changes
Inspection
  • Loading branch information
prha authored Aug 12, 2024
1 parent 9c16bcd commit f04bd0f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build-docs-revamp.yml
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

1 comment on commit f04bd0f

@github-actions
Copy link

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

Please sign in to comment.