Skip to content

update

update #21

Workflow file for this run

name: update
on:
schedule:
# Run Monday at 4:00 UTC
- cron: "0 4 * * 1"
jobs:
deploy:
name: "Update dependencies"
environment: stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup SSH
uses: ./.github/workflows/setup-ssh
with:
ssh-key: ${{ secrets.AUTH_SSH_KEY }}
username: ${{ secrets.AUTH_SSH_USER }}
host-key: ${{ vars.HOST_PUBLIC_KEY }}
host-name: ${{ vars.HOST }}
- name: Run command
shell: bash
run: |
ssh try_vyper bash <<EOF
apt-get update
apt-get upgrade -y
docker system prune --force --all --volumes
EOF