Skip to content

feat: bump version and switch to better workflow #1

feat: bump version and switch to better workflow

feat: bump version and switch to better workflow #1

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch:
env:
CI: true
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Clone Repository
uses: actions/checkout@v4
- name: Set Node.js Version
uses: actions/setup-node@v4
- name: Install Dependencies
run: npm ci
- name: Build
run: |
perl -i -pe 's/localhost:5000/aligner.ecolingui.ca/' src/aligner.ts
npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4