Skip to content

fix: 更改.gitpod.yml安装指令 #11

fix: 更改.gitpod.yml安装指令

fix: 更改.gitpod.yml安装指令 #11

Workflow file for this run

name: Build and Deploy
on: # 监听 master 分支上的 push 事件
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest # 构建环境使用 ubuntu
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install and Build # 下载依赖 打包项目
run: |
npm install
npm run build
- name: Deploy # 将打包内容发布到 github page
uses: JamesIves/github-pages-deploy-action@releases/v3
with: # 自定义环境变量
ACCESS_TOKEN: ${{ secrets.VUE_CESIUM }}
BASE_BRANCH: master
BRANCH: gh-pages
FOLDER: dist