From 57b50668a53cc869c8974cc8cd36c7e1804ace20 Mon Sep 17 00:00:00 2001 From: joeltejeda <76879536+joeltejeda@users.noreply.github.com> Date: Fri, 16 Dec 2022 18:46:04 -0400 Subject: [PATCH] Update update-dokku.yml --- .github/workflows/update-dokku.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-dokku.yml b/.github/workflows/update-dokku.yml index aa42642..f5a2746 100644 --- a/.github/workflows/update-dokku.yml +++ b/.github/workflows/update-dokku.yml @@ -7,7 +7,7 @@ on: jobs: deploy: name: deploy to Dokku - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository code uses: actions/checkout@v3 @@ -27,3 +27,6 @@ jobs: ssh ${{ secrets.DOKKU_HOST }}@${{ secrets.DOKKU_IP_ADDRESS }} -C "dokku apps:create dev-docs" | true ssh ${{ secrets.DOKKU_HOST }}@${{ secrets.DOKKU_IP_ADDRESS }} -C "dokku git:initialize dev-docs" ssh ${{ secrets.DOKKU_HOST }}@${{ secrets.DOKKU_IP_ADDRESS }} -C "dokku git:sync --build dev-docs" https://github.com/Subscribie/dev-docs.git main + ssh ${{ secrets.DOKKU_HOST }}@${{ secrets.DOKKU_IP_ADDRESS }} -C "dokku config:set --no-restart dev-docs DOKKU_LETSENCRYPT_EMAIL=${{ secrets.LETSENCRYPT_EMAIL }}" + ssh ${{ secrets.DOKKU_HOST }}@${{ secrets.DOKKU_IP_ADDRESS }} -C "dokku letsencrypt:enable dev-docs" + ssh ${{ secrets.DOKKU_HOST }}@${{ secrets.DOKKU_IP_ADDRESS }} -C "dokku letsencrypt:cron-job --add"