ci: remove deprecated syntax

This commit is contained in:
Bruno BELANYI 2024-06-27 10:41:25 +00:00
parent 23a2d4d249
commit 8197b71239

View file

@ -32,31 +32,31 @@ steps:
environment: environment:
# Trailing slash to synchronize the folder's *content* to the target # Trailing slash to synchronize the folder's *content* to the target
- SYNC_SOURCE=public/ - SYNC_SOURCE=public/
secrets: environment:
- source: ssh_key SYNC_KEY:
target: sync_key from_secret: ssh_key
- source: ssh_port SYNC_PORT:
target: sync_port from_secret: ssh_port
- source: ${SSH_TARGET} SYNC_TARGET:
target: sync_target from_secret: ${SSH_TARGET}
- source: ssh_user SYNC_USERNAME:
target: sync_username from_secret: ssh_user
- source: ssh_host SYNC_HOST:
target: sync_host from_secret: ssh_host
commands: commands:
- "nix run github:ambroisie/nix-config#drone-rsync" - "nix run github:ambroisie/nix-config#drone-rsync"
- name: notify - name: notify
image: bash image: bash
secrets: environment:
- source: matrix_homeserver ADDRESS:
target: address from_secret: matrix_homeserver
- source: matrix_password ROOM:
target: pass from_secret: matrix_roomid
- source: matrix_roomid USER:
target: room from_secret: matrix_username
- source: matrix_username PASS:
target: user from_secret: matrix_password
commands: commands:
- nix run github:ambroisie/matrix-notifier - nix run github:ambroisie/matrix-notifier
when: when: