added scp
All checks were successful
/ deploy (push) Successful in 3m54s

This commit is contained in:
Zi Gao 2025-06-09 11:48:58 +10:00
parent c5734c29e9
commit 088f764155
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,7 @@
on: [push]
on:
push:
schedule:
- cron: '30 5 * * 0'
jobs:
deploy:
runs-on: docker

View file

@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -qy --no-install-recommends \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null && \
curl -sL https://deb.nodesource.com/setup_23.x | sudo bash - && \
apt-get update && \
apt-get install -qy --no-install-recommends nodejs docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin make && \
apt-get install -qy --no-install-recommends nodejs docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin make openssh-client && \
rm -rf /var/lib/apt/lists/* /var/log/*.log /usr/share/doc/* /usr/share/info/* /usr/share/linda/* /usr/share/lintian/overrides/* /usr/share/man/* /etc/cron.daily/* /etc/cron.d/* && \
curl -fsSL https://dl.google.com/go/go1.24.4.linux-amd64.tar.gz | tar -C /usr/local -xz