Skip to content

Corrected the deployment path #4

Corrected the deployment path

Corrected the deployment path #4

Workflow file for this run

name: Build and Deploy Angular App
on:
push:
branches:
- main # Change this to your default branch if it's not 'main'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up NODEJS
uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Install dependencies
run: yarn
- name: Build Angular app
run: yarn build -c=production --base-href /i18neditor/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/i18neditor/browser # Change this to your Angular app's build output directory