Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

[APP] B2C_1_RegLog - [Back | Test] Init (#74) #61

[APP] B2C_1_RegLog - [Back | Test] Init (#74)

[APP] B2C_1_RegLog - [Back | Test] Init (#74) #61

Workflow file for this run

name: Static Web Apps
on:
push:
branches:
- Dev
jobs:
build_deploy:
runs-on: ubuntu-latest
name: Build and Deploy
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "latest"
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: "latest"
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Build
run: pnpm install && pnpm build
- name: Pages Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_branch: gh-pages
cname: Awai.Aloen.to