[FIX] global: adapt backend_key name translation to global wallet list #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "π deploy CI" | |
on: | |
push: | |
branches: | |
- demo | |
- test | |
- dev1 | |
- dev2 | |
- dev3 | |
paths-ignore: | |
- 'README*' | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get code | |
uses: actions/checkout@v2 | |
## XXXvlab: contrary two what was expected from ltfp in mirror | |
## mode, this setup is highly inefficient: because through sftp, | |
## lftp is not able to set correctly dates so it just delete and | |
## rewrite everything on the other end. We need to change that | |
## with ``rclone`` solution I guess if we don't want to change | |
## ``sftp`` protocol. | |
- name: "π SFTP Sync files" | |
uses: swillner/sftp-sync-action@v1.0 | |
with: | |
server: ${{ github.ref_name }}.lokavaluto.fr | |
port: 10322 | |
user: monujo | |
user_private_key: ${{ secrets.sftp_private_key }} | |
host_public_key: | |
local: ./ | |
remote: /lokavaluto-addons | |
mirror_options: "--exclude-glob=.git*/ --verbose" | |
## This part is to ensure that we can trigger actions after | |
## the sync occured on the destination host. | |
- name: π¨ Prepare last-updated | |
run: | | |
mkdir last-updated | |
date > last-updated/done | |
- name: "π SFTP Send last-updated" | |
uses: swillner/sftp-sync-action@v1.0 | |
with: | |
server: ${{ github.ref_name }}.lokavaluto.fr | |
port: 10322 | |
user: monujo | |
user_private_key: ${{ secrets.sftp_private_key }} | |
host_public_key: | |
local: ./last-updated | |
remote: /lokavaluto-addons.updated | |
mirror_options: "--verbose" |