Skip to content

Update angular.json #22

Update angular.json

Update angular.json #22

Workflow file for this run

name: Deploy to gh-pages
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"
- name: Install dependencies
run: npm ci
# - name: Run tests
# run: npm run ng -- test --no-watch --no-progress --browsers=ChromeHeadless
- name: Prepare and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TIMESTAMP=$(date +"%d-%B-%Y %I:%M:%S %p")
npm run ng -- deploy --base-href=https://dudushy.github.io/qoder/ --repo=https://github.com/dudushy/qoder.git --name="github-actions[bot]" --email="github-actions[bot]@users.noreply.github.com" --message="Deployed by GitHub Actions [\`${GITHUB_REF#refs/heads/}\`] @ ${TIMESTAMP}"