From 7e65cfa9e4d3c2463b3f4d709f1f716ae9449a9c Mon Sep 17 00:00:00 2001 From: introkun Date: Wed, 27 Mar 2024 17:28:45 -0300 Subject: [PATCH] update CI --- .github/workflows/deploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 68b73f5..b5bff63 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,8 +8,18 @@ on: workflow_dispatch: jobs: + update-known-hosts: + runs-on: ubuntu-latest + + steps: + - name: Update SSH known hosts + run: | + ssh-keygen -R github.com + ssh-keyscan github.com >> ~/.ssh/known_hosts + deploy: runs-on: ubuntu-latest + needs: update-known-hosts steps: - name: Deploy app