Skip to content

fix(deps): update dependency astro to v4.10.1 #120

fix(deps): update dependency astro to v4.10.1

fix(deps): update dependency astro to v4.10.1 #120

Workflow file for this run

name: Deploy
on:
pull_request:
branches:
- main
types: [closed]
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Build Check
run: |
npm ci
npm run build
- name: gh-pages deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
enable_jekyll: false
cname: 2023.yamanoku.net