Skip to content

post: mewci 2024

post: mewci 2024 #124

Workflow file for this run

name: Deploy to Production
on:
workflow_dispatch:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy to Azure Static Web Apps
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.126.1'
extended: true
- name: Setup NodeJS
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build website
run: bun run build
- name: Deploy to Azure
uses: Azure/static-web-apps-deploy@v1
with:
action: "upload"
skip_app_build: true
app_location: "/public"
repo_token: ${{ secrets.GITHUB_TOKEN }}
azure_static_web_apps_api_token: ${{ secrets.STATIC_WEB_APP_DEPLOY_TOKEN }}