docs: updated connection creation and usage #46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Docs | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: write | |
id-token: write | |
jobs: | |
publish-website: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Bun 📦 | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.2.13 | |
- name: Install dependencies 🔧 | |
run: bun install | |
- name: Deploy 🚀 | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Akalanka Perera" | |
GIT_USER=elcengine GIT_PASS=${{ secrets.REPOSITORY_ACCESS_TOKEN }} DEPLOYMENT_BRANCH=gh-pages bun run deploy |