deploy fdroid repo to the production

pull/110/head
Alya Sirko 2022-09-02 17:39:42 +03:00
parent ce5d779370
commit 7cdc8c9eb1
1 changed files with 3 additions and 4 deletions

View File

@ -96,14 +96,13 @@ steps:
GITEA_RELEASE_TOKEN: GITEA_RELEASE_TOKEN:
from_secret: GITEA_RELEASE_TOKEN from_secret: GITEA_RELEASE_TOKEN
- name: Deploy on F-Droid Repository - name: Deploy F-Droid Repository
commands: commands:
# Prepare SSH keys # Prepare SSH keys
- eval `ssh-agent -s` - eval `ssh-agent -s`
- echo "$SSH_PRIVATE_KEY" | ssh-add - - echo "$SSH_PRIVATE_KEY" | ssh-add -
# Copy the artifacts to the F-Droid repository # Copy the repository to the production server
- ls - scp -r repo/* deployer@production:/var/www/fdroid.selfprivacy.org
- ls repo/
environment: environment:
SSH_PRIVATE_KEY: SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY from_secret: SSH_PRIVATE_KEY