Skip to content

Commit

Permalink
chore(repo): Fix retheme deploy preview (#2116)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts authored Nov 13, 2023
1 parent 86ac27a commit 12b26ed
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/preview.retheme.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Deploy Retheme Preview
run-name: Deploy Retheme Preview by ${{ github.actor }}
run-name: Deploy Retheme Preview

env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_CLERK_PROD_ORG_ID }}
Expand All @@ -22,22 +22,6 @@ jobs:
contents: write
pull-requests: write
steps:
- name: Limit action to Clerk members
uses: actions/github-script@v6
with:
result-encoding: string
retries: 3
retry-exempt-status-codes: 400,401
github-token: ${{ secrets.CLERK_COOKIE_PAT }}
script: |
const isMember = await github.rest.orgs.checkMembershipForUser({
org: 'clerk',
username: context.actor
});
if (!isMember) {
core.setFailed(`@${actor} is not a member of the Clerk organization`);
}
- name: Checkout repo
uses: actions/checkout@v4

Expand Down

0 comments on commit 12b26ed

Please sign in to comment.