File tree Expand file tree Collapse file tree 1 file changed +4
-59
lines changed
Expand file tree Collapse file tree 1 file changed +4
-59
lines changed Original file line number Diff line number Diff line change 1- # name: Deploy
2-
3- # on:
4- # push:
5- # branches:
6- # - main
7-
8- # jobs:
9- # build:
10- # name: Build
11- # runs-on: ubuntu-latest
12-
13- # steps:
14- # - name: Checkout repo
15- # uses: actions/checkout@v2
16-
17- # - name: Setup Node
18- # uses: actions/setup-node@v1
19- # with:
20- # node-version: 18
21-
22- # - name: Install dependencies
23- # uses: bahmutov/npm-install@v1
24-
25- # - name: Build project
26- # run: npm run build
27-
28- # - name: Create CNAM file
29- # run: npm run add-domain
30-
31- # - name: Upload production-ready build files
32- # uses: actions/upload-artifact@v2
33- # with:
34- # name: production-files
35- # path: ./dist
36-
37- # deploy:
38- # name: Deploy
39- # needs: build
40- # runs-on: ubuntu-latest
41- # if: github.ref == 'refs/heads/main'
42-
43- # steps:
44- # - name: Setup Node
45- # uses: actions/setup-node@v1
46- # with:
47- # node-version: 18
48-
49- # - name: Download artifact
50- # uses: actions/download-artifact@v2
51- # with:
52- # name: production-files
53- # path: ./dist
54-
55- # - name: Deploy to GitHub Pages
56- # uses: peaceiris/actions-gh-pages@v3
57- # with:
58- # github_token: ${{ secrets.GITHUB_TOKEN }}
59- # publish_dir: ./dist
601name : Build and Deploy
612on :
623 push :
634 branches :
645 - main
656 workflow_dispatch :
7+ # Allows external webhook trigger
8+ repository_dispatch :
9+ types :
10+ - webhook
6611permissions :
6712 contents : write
6813jobs :
You can’t perform that action at this time.
0 commit comments