Skip to content

Merge pull request #1220 from near/dev #7

Merge pull request #1220 from near/dev

Merge pull request #1220 from near/dev #7

name: Deploy Angular Example
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
actions: write
issues: write
pull-requests: write
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Install dependencies
run: yarn install
- name: Build
run: yarn nx build angular
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/examples/angular