Add gitea actions
This commit is contained in:
24
.gitlab/workflows/static.yml
Normal file
24
.gitlab/workflows/static.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Build server
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
ProjectTest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
submodules: true
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- name: "Build app"
|
||||
run: "python3 build.py"
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v4
|
||||
with:
|
||||
# Upload built files
|
||||
name: 'TeleSec-dist'
|
||||
path: './dist'
|
||||
Reference in New Issue
Block a user