diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index e4d9e48..a2926ae 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -12,11 +12,10 @@ jobs: - uses: actions/setup-node@v2 with: node-version: 20 - - name: lint - run: npm run lint - name: build run: | npm ci + npm run lint npx ng add angular-cli-ghpages --skip-confirmation npx ng build --base-href=/${{ github.event.repository.name }}/ - name: commit and push @@ -37,11 +36,10 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - name: lint - run: npm run lint - name: build run: | npm ci + npm run lint npx ng add angular-cli-ghpages --skip-confirmation npx ng build --base-href=/2024/ - name: Deploy to Firebase Hosting