Add styles on controls (#112) #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |