Skip to content

feat(posts): add multilingual support with new example posts and tran… #19

feat(posts): add multilingual support with new example posts and tran…

feat(posts): add multilingual support with new example posts and tran… #19

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
# Add permissions required for github pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install-all
- name: Build website
run: bun run build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: src/presentation/dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4