Skip to content

Commit 25b7f90

Browse files
authored
Reenable REPL deployment (#9754)
* Revert "Skip vercel REPL deployment (#9742)" This reverts commit 3f32e0d. * Add team scope to Vercel deployment step * Add team scope to Vercel deployment step
1 parent 062993b commit 25b7f90

File tree

2 files changed

+34
-32
lines changed

2 files changed

+34
-32
lines changed

.github/workflows/ci.yml

+33-32
Original file line numberDiff line numberDiff line change
@@ -162,35 +162,36 @@ jobs:
162162
# with:
163163
# name: REPL
164164
# path: 'packages/dev/repl/dist'
165-
# - name: Start Deployment
166-
# uses: bobheadxi/deployments@v1
167-
# id: deployment
168-
# with:
169-
# step: start
170-
# token: ${{ secrets.GITHUB_TOKEN }}
171-
# ref: ${{ github.head_ref }}
172-
# env: Preview
173-
# override: false
174-
# - name: Deploy to Vercel
175-
# uses: amondnet/vercel-action@v25
176-
# id: vercel-action
177-
# with:
178-
# vercel-token: ${{ secrets.REPL_VERCEL_TOKEN }}
179-
# vercel-org-id: ${{ secrets.REPL_VERCEL_ORG_ID }}
180-
# vercel-project-id: ${{ secrets.REPL_VERCEL_PROJECT_ID }}
181-
# github-comment: false
182-
# working-directory: packages/dev/repl
183-
# # vercel-args: '--prod'
184-
# alias-domains: |
185-
# pr-{{PR_NUMBER}}.repl.parceljs.org
186-
# - name: Update Deployment Status
187-
# uses: bobheadxi/deployments@v1
188-
# if: always()
189-
# with:
190-
# step: finish
191-
# token: ${{ secrets.GITHUB_TOKEN }}
192-
# env: Preview
193-
# override: false
194-
# status: ${{ job.status }}
195-
# deployment_id: ${{ steps.deployment.outputs.deployment_id }}
196-
# env_url: ${{ steps.vercel-action.outputs.preview-url }}
165+
- name: Start Deployment
166+
uses: bobheadxi/deployments@v1
167+
id: deployment
168+
with:
169+
step: start
170+
token: ${{ secrets.GITHUB_TOKEN }}
171+
ref: ${{ github.head_ref }}
172+
env: Preview
173+
override: false
174+
- name: Deploy to Vercel
175+
uses: amondnet/vercel-action@v25
176+
id: vercel-action
177+
with:
178+
vercel-token: ${{ secrets.REPL_VERCEL_TOKEN }}
179+
vercel-org-id: ${{ secrets.REPL_VERCEL_ORG_ID }}
180+
vercel-project-id: ${{ secrets.REPL_VERCEL_PROJECT_ID }}
181+
github-comment: false
182+
working-directory: packages/dev/repl
183+
# vercel-args: '--prod'
184+
scope: parcel
185+
alias-domains: |
186+
pr-{{PR_NUMBER}}.repl.parceljs.org
187+
- name: Update Deployment Status
188+
uses: bobheadxi/deployments@v1
189+
if: always()
190+
with:
191+
step: finish
192+
token: ${{ secrets.GITHUB_TOKEN }}
193+
env: Preview
194+
override: false
195+
status: ${{ job.status }}
196+
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
197+
env_url: ${{ steps.vercel-action.outputs.preview-url }}

.github/workflows/tag-release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
github-comment: false
7272
working-directory: packages/dev/repl
7373
vercel-args: '--prod'
74+
scope: parcel
7475
- name: Update Deployment Status
7576
uses: bobheadxi/deployments@v1
7677
if: always()

0 commit comments

Comments
 (0)