We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6fa433 commit f374cd1Copy full SHA for f374cd1
.github/workflows/main.yml
@@ -0,0 +1,25 @@
1
+name: Build and Deploy Script
2
+on:
3
+ push:
4
+ branches:
5
+ - feature/workflow
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout Repository
11
+ uses: actions/checkout@v4
12
+ - name: Adding Node.js
13
+ uses: actions/setup-node@v4
14
+ with:
15
+ node-version: 22.16.0
16
+ - name: Install Dependencies
17
+ run: npm install
18
+ - name: Build Angular App
19
+ run: npm run build
20
+ - name: Deploy to gh pages
21
+ run: |
22
+ npx angular-cli-ghpages --dir=dist/your-angular-app
23
+ env:
24
+ CI: true
25
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
0 commit comments