Skip to content

fix: lexer fix for {{ breaking not needed #10

fix: lexer fix for {{ breaking not needed

fix: lexer fix for {{ breaking not needed #10

Workflow file for this run

name: πŸš€ Deploy website on push
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Setup Node.js for use with actions
uses: actions/setup-node@v4
with:
node-version: 20
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Clean install dependencies
run: npm install
- name: Build app
run: npx nx run repl:build
- name: Rewrite base href
uses: SteveSandersonMS/ghaction-rewrite-base-href@v1
with:
html_path: ./dist/apps/repl/index.html
base_href: /treaty/
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './dist/apps/repl/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4