File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed
project-2/.github/workflows Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change 1- name : Deploy My Web App
1+ # name: Deploy My Web App
22
3- # When to run this
4- on :
5- push :
6- branches : [main]
7- workflow_dispatch : # Allows manual triggering
3+ # # When to run this
4+ # on:
5+ # push:
6+ # branches: [main]
7+ # workflow_dispatch: # Allows manual triggering
88
9- jobs :
10- deploy :
11- runs-on : ubuntu-latest
9+ # jobs:
10+ # deploy:
11+ # runs-on: ubuntu-latest
1212
13- steps :
14- # Get your code
15- - uses : actions/checkout@v4
13+ # steps:
14+ # # Get your code
15+ # - uses: actions/checkout@v4
1616
17- # Setup Node.js
18- - uses : actions/setup-node@v4
19- with :
20- node-version : ' 18'
17+ # # Setup Node.js
18+ # - uses: actions/setup-node@v4
19+ # with:
20+ # node-version: '18'
2121
22- # Install and test
23- - run : npm install
24- - run : npm test
22+ # # Install and test
23+ # - run: npm install
24+ # - run: npm test
2525
26- # Build Docker image
27- - run : docker build -t my-webapp .
26+ # # Build Docker image
27+ # - run: docker build -t my-webapp .
2828
29- # (You'll add deployment steps here later)
30- - run : echo "App tested and built successfully!"
29+ # # (You'll add deployment steps here later)
30+ # - run: echo "App tested and built successfully!"
You can’t perform that action at this time.
0 commit comments