Skip to content

Commit

Permalink
Revert "Define nv at a step level"
Browse files Browse the repository at this point in the history
This reverts commit fbeb091.
  • Loading branch information
daniel-montalvo committed Feb 4, 2025
1 parent fbeb091 commit da88433
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
runs-on: ubuntu-latest
permissions:
pull-requests: write
env:
branch_name: ${{ github.event.pull_request.head.ref }}
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -29,12 +32,6 @@ jobs:
git config --global user.email "${{ secrets.WAI_GIT_EMAIL }}"
- name: Build and deploy WAI update
run: npm run pr:preview
env:
branch_name: ${{ github.event.pull_request.head.ref }}
GH_TOKEN: ${{ github.token }}
- name: Comment on PR with preview link
run: |
gh pr comment ${{ github.event.pull_request.number }} --body "Preview ready at https://deploy-preview-${{ env.branch_name }}--wai-wcag-act-rules.netlify.app"
env:
branch_name: ${{ github.event.pull_request.head.ref }}
GH_TOKEN: ${{ github.token }}

0 comments on commit da88433

Please sign in to comment.