Skip to content

Add styles on controls (#112) #33

Add styles on controls (#112)

Add styles on controls (#112) #33

name: Deploy Angular App to GitHub Pages
on:
push:
branches:
- main # Adjust this to your default branch
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18 # Ensure this matches your project's Node.js version
- name: Install Dependencies
run: npm install
working-directory: frontend/
- name: Build Angular App
run: npm run build -- --output-path ../dist
working-directory: frontend/
- name: Copy CNAME file
run: |
echo "www.drumbeatrepo.com" > dist/CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GHPAGES }}
publish_dir: dist