Bump glob from 11.0.3 to 11.1.0 #109
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: Preview | |
| on: | |
| pull_request: | |
| branches: [master] | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Install Netlify | |
| run: npm install -g netlify-cli | |
| - name: Build | |
| run: | | |
| npm install | |
| npm run build | |
| - name: Deploy | |
| if: github.actor != 'dependabot[bot]' | |
| id: deploy | |
| run: | | |
| netlify deploy \ | |
| --message "$MESSAGE" \ | |
| --dir dist \ | |
| --site "$NETLIFY_SITE_ID" \ | |
| --auth "$NETLIFY_AUTH_TOKEN" | |
| env: | |
| NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
| NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
| MESSAGE: "${{ github.ref_name }}@${{ github.sha }}" | |
| - name: Comment | |
| if: steps.deploy.outcome == 'success' | |
| uses: thollander/actions-comment-pull-request@v3 | |
| with: | |
| message: | | |
| This pull request has been deployed to Netlify. | |
| 📎 View log: ${{ steps.deploy.outputs.NETLIFY_LOGS_URL }} | |
| 🔍 Preview: ${{ steps.deploy.outputs.NETLIFY_URL }} |