source/.drone.yml
Pedro Jose Romero Gombau 06b62c5143
All checks were successful
continuous-integration/drone Build is passing
.spec for linux
2025-01-22 12:00:26 +01:00

28 lines
791 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: python:3.9
commands:
- pip install --no-cache-dir pyinstaller
- pyinstaller --clean LaunchSimLinux.spec
- name: push-artifacts
image: alpine/git
environment:
GIT_USERNAME:
from_secret: GIT_USERNAME
GIT_PASSWORD:
from_secret: GIT_PASSWORD
commands:
- git config --global user.name "Drone CI"
- git config --global user.email "drone@spark-ops.com"
- git clone https://$GIT_USERNAME:$GIT_PASSWORD@git.spark-ops.com/LaunchSim/application.git
- cp README_APP.md dist/LaunchSim.exe application/
- cd application
- git add .
- git commit -m "Actualización de LaunchSim.exe y README_APP.md"
- git push origin main