mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
update workflows
This commit is contained in:
4
.github/workflows/gh-pages.yml
vendored
4
.github/workflows/gh-pages.yml
vendored
@@ -26,7 +26,9 @@ jobs:
|
||||
PRODUCTION_BASE_URL: /
|
||||
BASE_URL: /
|
||||
VUE_APP_API_URL: https://api-fastapi-admin.long2ice.cn:8443
|
||||
run: npm run build
|
||||
run: |
|
||||
cd front
|
||||
npm run build
|
||||
|
||||
- name: deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
||||
2
.github/workflows/pypi.yml
vendored
2
.github/workflows/pypi.yml
vendored
@@ -12,9 +12,11 @@ jobs:
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Build dists
|
||||
run: |
|
||||
python3 setup.py sdist
|
||||
|
||||
- name: Pypi Publish
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user