Skip to content

ci: ✨ update node version #44

ci: ✨ update node version

ci: ✨ update node version #44

Workflow file for this run

name: Auto Deploy GitHub Pages
on:
push:
branches:
- vue-press
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install And Build
run: |
pnpm install && pnpm build
- name: Add Domain
run: cd public && echo 'blog.abplan.top' > CNAME
# - name: Install SSH Client
# uses: webfactory/[email protected]
# with:
# ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
SSH: true
BRANCH: master
FOLDER: public
CLEAN: true