Skip to content

Commit 3c61d58

Browse files
committed
automated deployment
1 parent ccff789 commit 3c61d58

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@ jobs:
2121
- name: Install Dependencies
2222
run: npm install
2323

24-
- name: Build
25-
run: npm run build --configuration production --base-href /Collaborative-Editor-UI/
24+
- name: Install angular-cli-ghpages
25+
run: npx ng add angular-cli-ghpages --skip-confirmation
2626

27-
- name: Deploy
28-
uses: peaceiris/actions-gh-pages@v3
29-
with:
30-
github_token: ${{ secrets.GITHUB_TOKEN }}
31-
publish_dir: ./dist/collaborative-editor/browser
32-
enable_jekyll: false
27+
- name: Deploy to GitHub Pages
28+
run: npx ng deploy --base-href=/Collaborative-Editor-UI/ --no-silent --c=production --skip-build=false
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)