Move apt update to system configuration step

This commit is contained in:
Michal Čihař 2020-03-12 11:31:23 +01:00
parent 1feabc4464
commit 97ada48c71
3 changed files with 5 additions and 3 deletions

View file

@ -8,7 +8,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Exim
run: sudo ./configure-system
- name: Bootstrap
run: |
sudo ./bootstrap <<EOT

View file

@ -35,5 +35,3 @@ POSTGRES_PASS=$(openssl rand -hex 32)
# Munin
MUNIN_ALLOW="$munin"
EOT

apt update

View file

@ -2,3 +2,5 @@

sed -i 's/#?PasswordAuthentication.*/PasswordAuthentication no/' /etc/ssh/sshd_config
systemctl restart sshd

apt update