Skip to content

Lock file maintenance #46

Lock file maintenance

Lock file maintenance #46

Workflow file for this run

name: deploy
on:
push:
branches:
- master
tags:
- "v*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: "lts/*"
cache: "npm"
- run: npm ci
- run: npm run build
- run: |
sudo apt-get install tree -y
tree -H '.' -L 1 --noreport --charset utf-8 ./dist | tee dist/index.html
- name: Deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
commit_message: deploy ${{ github.ref }}
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com