Skip to content

Show original altitude profile in grey #11

Show original altitude profile in grey

Show original altitude profile in grey #11

name: Build and deploy to GitHub Pages
on:
push:
branches:
- main # Automatically trigger on push to the "main" branch
workflow_dispatch: # Allow manual triggering of the workflow
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the repository
- name: Checkout Code
uses: actions/checkout@v3
# Step 2: Set up Node.js environment
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
# Step 3: Install dependencies
- name: Install Dependencies
run: npm ci
# Step 4: Build the Angular app
- name: Build Angular App
run: npm run build -- --output-path=dist
# Step 5: Deploy to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.READ_REPO_TOKEN }}
publish_dir: dist/browser