From a1e9214c1011011c4ac41cb79ee48b9cddb36f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Fri, 2 Dec 2022 22:45:11 +0100 Subject: [PATCH 1/2] Adjust env names --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c464e11..39791f8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,13 +15,13 @@ jobs: - name: Create .env file uses: SpicyPizza/create-envfile@v1 with: - envkey_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + envkey_GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }} envkey_DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} - uses: alex-ac/github-action-ssh-docker-compose@master name: Docker Compose remote deployment with: - ssh_host: ${{ secrets.SSH_HOST }} - ssh_user: ${{ secrets.SSH_USER }} - ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} + ssh_host: ${{ secrets.ORACLE_CLOUD_SSH_HOST }} + ssh_user: ${{ secrets.ORACLE_CLOUD_SSH_PRIVATE_KEY }} + ssh_private_key: ${{ secrets.ORACLE_CLOUD_SSH_USER }} docker_compose_prefix: bot From 9694a0661bf0b0977324225e2624cac9aacfd13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Fri, 2 Dec 2022 23:44:18 +0100 Subject: [PATCH 2/2] Fix a big mistake --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 39791f8..3107f19 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,6 +22,6 @@ jobs: name: Docker Compose remote deployment with: ssh_host: ${{ secrets.ORACLE_CLOUD_SSH_HOST }} - ssh_user: ${{ secrets.ORACLE_CLOUD_SSH_PRIVATE_KEY }} - ssh_private_key: ${{ secrets.ORACLE_CLOUD_SSH_USER }} + ssh_user: ${{ secrets.ORACLE_CLOUD_SSH_USER }} + ssh_private_key: ${{ secrets.ORACLE_CLOUD_SSH_PRIVATE_KEY }} docker_compose_prefix: bot