Skip to content

blog model import fix #2

blog model import fix

blog model import fix #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # or your default branch
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Set up environment variables
run: |
echo "EMAILJS_PUBLIC_KEY=${{ secrets.EMAILJS_PUBLIC_KEY }}" >> $GITHUB_ENV
echo "EMAILJS_SERVICE_ID=${{ secrets.EMAILJS_SERVICE_ID }}" >> $GITHUB_ENV
echo "EMAILJS_TEMPLATE_ID=${{ secrets.EMAILJS_TEMPLATE_ID }}" >> $GITHUB_ENV
- name: Build
run: npm run build -- --configuration production --base-href "https://javeedishaq.github.io/"
- name: Deploy to javeedishaq.github.io
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
external_repository: JaveedIshaq/javeedishaq.github.io
publish_branch: main # Deploy to main branch
publish_dir: dist/ngdevfolio/browser