Skip to content

Commit

Permalink
Update auto-inspection.yml (#3750)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfu1 committed Dec 21, 2021
1 parent 8061129 commit c01d971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-inspection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
- uses: actions/checkout@v2
- name: Get branch name (pull request)
run: echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF})" >> $GITHUB_ENV
- uses: lxfu1/surge-preview@v2.0.1
- uses: lxfu1/surge-preview@2.0.3
id: preview_step
with:
project_name: 'G2'
project_branch: ${{ env.BRANCH_NAME }}
surge_token: ${{ secrets.SURGE_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
build: |
npm install
yarn
- name: Get the preview url
run: echo "url => ${{ steps.preview_step.outputs.preview_url }}"

0 comments on commit c01d971

Please sign in to comment.