Files
cdTestPlant3/chengduTestPlant/.github/workflows/deploy.yml
2023-06-04 20:01:58 +08:00

23 lines
581 B
YAML

name: Deploy to Gitee
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: |
git config user.email "root@imoi.cn"
git config user.name "xmo"
git remote rm origin
git remote add origin https://xmo:${{ secrets.GITEE_TOKEN }}@gitee.com/mineadmin/mineadmin-vue.git
git push -f origin main