Skip to content

Merge branch 'ff' into bugfix/audit #6

Merge branch 'ff' into bugfix/audit

Merge branch 'ff' into bugfix/audit #6

Workflow file for this run

on: push
name: Deploy Angular Application
permissions:
contents: write
issues: read
checks: write
statuses: read
pull-requests: write
jobs:
deploy-ghpages:

Check failure on line 10 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy Angular Application

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 10, Col: 2): The workflow must contain at least one job with no dependencies.
needs: build
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install and npm run build
run: |
npm i
npm run deploy
- name: Deploy to GH pages
if: startsWith(github.ref, 'refs/tags/v')
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist # The folder the action should deploy.