Skip to content

fix: パーツ追加・編集ダイアログで在庫数0が表示されない問題を修正 fixes #7 #82

fix: パーツ追加・編集ダイアログで在庫数0が表示されない問題を修正 fixes #7

fix: パーツ追加・編集ダイアログで在庫数0が表示されない問題を修正 fixes #7 #82

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main, develop, gh-pages ] # 全ブランチで実行
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build-and-deploy
# gh-pagesブランチからのプッシュのみデプロイ実行
if: github.ref == 'refs/heads/gh-pages'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4