deploy fdroid repo to the production
parent
ce5d779370
commit
7cdc8c9eb1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue