Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit b0aceaa

Browse files
committed
feat: add test workflow
1 parent 93807fe commit b0aceaa

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Trigger Netlify Build
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
deploy-preview:
9+
name: 'Deploy Preview'
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
if: contains(github.event.comment.body, 'netlify build')
14+
- name: deploy to preview mode
15+
uses: thundermiracle/netlify-deploy@v3
16+
with:
17+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN}}
18+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID}}
19+
deploy-dir: "./public"
20+
extra-cache-path: |
21+
.cache
22+
public

0 commit comments

Comments
 (0)