Skip to content

refacto (CI) : move to proper composite action action.yml #286

refacto (CI) : move to proper composite action action.yml

refacto (CI) : move to proper composite action action.yml #286

name: Deploy Angular App to GitHub Pages

Check failure on line 1 in .github/workflows/angular-deploy-github-pages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/angular-deploy-github-pages.yml

Invalid workflow file

(Line: 18, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual '.github/actions/test.yml'
permissions:
contents: write
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@v6
- name: Test
uses: .github/actions/test.yml
- name: Copy CNAME file
run: |
echo "www.drumbeatrepo.com" > dist/browser/CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/browser/