ci: remove deprecated syntax
All checks were successful
ci/woodpecker/push/deploy/1 Pipeline was successful
ci/woodpecker/push/deploy/2 Pipeline was successful

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

View file

@ -31,32 +31,31 @@ steps:
image: bash image: bash
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: SYNC_KEY:
- source: ssh_key from_secret: ssh_key
target: sync_key SYNC_PORT:
- source: ssh_port from_secret: ssh_port
target: sync_port SYNC_TARGET:
- source: ${SSH_TARGET} from_secret: ${SSH_TARGET}
target: sync_target SYNC_USERNAME:
- source: ssh_user from_secret: ssh_user
target: sync_username SYNC_HOST:
- source: ssh_host from_secret: ssh_host
target: sync_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: