mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-03-14 02:34:07 +00:00
deploy fdroid repo to the production
This commit is contained in:
parent
ce5d779370
commit
7cdc8c9eb1
1 changed files with 3 additions and 4 deletions
|
@ -96,14 +96,13 @@ steps:
|
|||
GITEA_RELEASE_TOKEN:
|
||||
from_secret: GITEA_RELEASE_TOKEN
|
||||
|
||||
- name: Deploy on F-Droid Repository
|
||||
- name: Deploy F-Droid Repository
|
||||
commands:
|
||||
# Prepare SSH keys
|
||||
- eval `ssh-agent -s`
|
||||
- echo "$SSH_PRIVATE_KEY" | ssh-add -
|
||||
# Copy the artifacts to the F-Droid repository
|
||||
- ls
|
||||
- ls repo/
|
||||
# Copy the repository to the production server
|
||||
- scp -r repo/* deployer@production:/var/www/fdroid.selfprivacy.org
|
||||
environment:
|
||||
SSH_PRIVATE_KEY:
|
||||
from_secret: SSH_PRIVATE_KEY
|
||||
|
|
Loading…
Add table
Reference in a new issue