File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Index HTML
2+
3+ on :
4+ push :
5+ branches :
6+ - feature/automation
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ # Check out the repository
14+ - name : Checkout code
15+ uses : actions/checkout@v2
16+
17+ # Set up Node.js environment
18+ - name : Set up Node.js
19+ uses : actions/setup-node@v2
20+ with :
21+ node-version : ' 20' # Specify the Node.js version you need
22+
23+ # Install dependencies (if any)
24+ - name : Install dependencies
25+ run : |
26+ npm install
27+
28+ # Run your Node.js script
29+ - name : Run Node.js script
30+ run : |
31+ node matf.js
32+
33+ # Deploy to a static hosting service
34+ - name : Deploy to GitHub Pages
35+ uses : peaceiris/actions-gh-pages@v3
36+ with :
37+ github_token : ${{ secrets.GITHUB_TOKEN }}
38+ publish_dir : ./
You can’t perform that action at this time.
0 commit comments