Skip to content

chore: update LiquidOps #180

chore: update LiquidOps

chore: update LiquidOps #180

name: Deploy to Permaweb
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, 'permaweb')
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Build website
run: bun run build
- name: Deploy to Permaweb
run: bun run permaweb-deploy
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
DEPLOY_WALLET: ${{ secrets.DEPLOY_WALLET }}
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
GITHUB_SHA: ${{ github.sha }}