Skip to content

Commit

Permalink
correct script for build
Browse files Browse the repository at this point in the history
  • Loading branch information
dorsaffrigui committed Oct 24, 2023
1 parent 017954e commit f6ac00e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 14
node-version: '16'

- name: Install Dependencies
run: npm install

- name: Build Angular App
run: ng build --prod
run: npm run build --prod

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>DeployToGithubPages</title>
<base href="/">
<base href="/deploy-to-github-pages/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
Expand Down

0 comments on commit f6ac00e

Please sign in to comment.