Skip to content

Commit cf300d6

Browse files
Update deploy.yml
1 parent 0aada8c commit cf300d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build and Deploy Angular App
22
on:
33
push:
44
branches:
5-
- main
5+
- Production # Alterado de main para Production
66
workflow_dispatch:
77

88
permissions:
@@ -24,7 +24,7 @@ jobs:
2424
run: npm ci
2525

2626
- name: Build Angular app
27-
run: npm run build --configuration production --base-href="/${{ github.event.repository.name }}/"
27+
run: npm run build --configuration production --output-path=docs --base-href="/${{ github.event.repository.name }}/"
2828

2929
- name: Add .nojekyll file
3030
run: touch docs/.nojekyll

0 commit comments

Comments
 (0)