Skip to content

chore: simplify uploaded operations #119

chore: simplify uploaded operations

chore: simplify uploaded operations #119

Workflow file for this run

name: deploy
on:
push:
branches:
- v2
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js v16.x
uses: actions/setup-node@v1
with:
node-version: "16.x"
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./dist
personal_token: ${{ secrets.GH_PAGES_DEPLOY }}
external_repository: picx-apps/picx-v2
publish_branch: gh-pages
user_name: ${{ secrets.MY_USER_NAME }}
user_email: ${{ secrets.MY_USER_EMAIL }}
commit_message: PicX v2