From cdc7d797ea48acb4923d5792d092b3b64d39ab2d Mon Sep 17 00:00:00 2001 From: ProgramistaZpolski Date: Sat, 20 Jul 2024 09:18:31 +0200 Subject: [PATCH] Do not deploy to Oracle Cloud --- .github/workflows/deploy.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 2f4a7d1..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Deploy to Oracle Cloud - -on: - push: - branches: [ master ] - -jobs: - deploy: - runs-on: ubuntu-latest - environment: oracle-cloud - steps: - - uses: actions/checkout@v3 - - name: Create .env file - uses: SpicyPizza/create-envfile@v2 - with: - envkey_DEBUG: false - envkey_DB_HOST: "db" - envkey_TOKEN: ${{ secrets.TOKEN }} - envkey_GOOGLE_APPLICATION_CREDENTIALS: "app/wulkanowy-gac.json" - - name: Create GAC file - uses: timheuer/base64-to-file@v1 - with: - fileName: "wulkanowy-gac.json" - fileDir: "./" - encodedString: ${{ secrets.GAC_CONTENT }} - - uses: alex-ac/github-action-ssh-docker-compose@master - name: Docker-Compose Remote Deployment - with: - ssh_host: ${{ secrets.ORACLE_CLOUD_SSH_HOST }} - ssh_private_key: ${{ secrets.ORACLE_CLOUD_SSH_PRIVATE_KEY }} - ssh_user: ${{ secrets.ORACLE_CLOUD_SSH_USER }} - docker_compose_prefix: schools