1 parent 1fed48e commit f1195b8Copy full SHA for f1195b8
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,24 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
7
+jobs:
8
+ build-and-deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
13
+ - uses: actions/setup-node@v3
14
+ with:
15
+ node-version: '14'
16
17
+ - run: npm install
18
19
+ - run: npx ng build --prod --base-href /angular-localstorage-service/
20
21
+ - uses: peaceiris/actions-gh-pages@v3
22
23
+ github_token: ${{ secrets.GITHUB_TOKEN }}
24
+ publish_dir: ./dist/angular-local-storage
0 commit comments