chore(deps): update all non-major dependency bump (#325) #332
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# fetch whole history (needed for blog article creation time to work correctly) | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@v4.0.0 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
node-version-file: '.nvmrc' | |
- run: pnpm i | |
- name: Build 🔧 | |
run: pnpm build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: master | |
FOLDER: public | |
- name: on deployment success | |
if: env.deployment_status == 'success' | |
run: echo "Deployment success" | |