chore: add commitlint configuration and pre-commit hook for enforcing commit message standards #519
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: deploy website preview | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| pull_request_target: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: ./ | |
| id: vercel-action | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
| github-comment: false | |
| vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} | |
| vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID_STATIC }} | |
| - name: preview-url | |
| run: | | |
| echo ${{ steps.vercel-action.outputs.preview-url }} |