Skip to content

Commit 73a54ec

Browse files
committed
feat: Add GitHub Actions workflow for GitHub Pages deployment
1 parent fda3a91 commit 73a54ec

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/github-pages.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Node.js 16
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 16
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Build Angular app
25+
run: npm run wallet:build
26+
27+
- name: Deploy to GitHub Pages
28+
uses: peaceiris/actions-gh-pages@v3
29+
with:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
publish_dir: ./dist/nault
32+
publish_branch: github-pages-wallet
33+
force_orphan: true

0 commit comments

Comments
 (0)