diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ce5c24f..e596255 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -5,6 +5,9 @@ on: branches: - main +permissions: + contents: write + jobs: build: runs-on: ubuntu-latest @@ -21,7 +24,7 @@ jobs: - name: Install dependencies run: | npm install - npm install -g @angular/cli # Add this line to install Angular CLI globally + npm install -g @angular/cli - name: Build the Angular app run: ng build --configuration=production --base-href="https://hemant10yadav.github.io/book-store/"