From 11f5ca6e923d33124397a5e5652b474c1b55742a Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 17 Dec 2021 23:48:25 +0000 Subject: [PATCH] ci: remove the deploy step for now --- .github/workflows/ci.yml | 80 ++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1a482c..50a03fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -174,43 +174,43 @@ jobs: - run: bin/phpstan analyze - deploy: - name: Deploy via Ansible - runs-on: ubuntu-latest - needs: - - install - - phpcs - - phpstan - - phpunit - - theme - if: github.event_name == 'push' - env: - ANSIBLE_FORCE_COLOR: 1 - ANSIBLE_HOST_KEY_CHECKING: no - steps: - - name: Checkout the code - uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 - - - name: Add the deployment SSH key - uses: shimataro/ssh-key-action@6f350ca8484d8d55c2e361e74d17e638dabe713a # 2.1.0 - with: - key: ${{ secrets.SSH_PRIVATE_KEY }} - name: id_rsa - known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} - - - name: Cache dependencies - uses: actions/cache@d9747005de0f7240e5d35a68dca96b3f41b8b340 - with: - path: tools/deployment/.roles - key: dependencies-composer-${{ hashFiles('tools/deployment/requirements.yml') }} - - - name: Export the Ansible Vault password - run: echo $ANSIBLE_VAULT_PASS > tools/deployment/.vault-pass.txt - env: - ANSIBLE_VAULT_PASS: ${{ secrets.ANSIBLE_VAULT_PASS }} - - - name: Deploy the code - run: ./run ci:deploy - - - name: Remove the Ansible Vault password file - run: rm tools/deployment/.vault-pass.txt + # deploy: + # name: Deploy via Ansible + # runs-on: ubuntu-latest + # needs: + # - install + # - phpcs + # - phpstan + # - phpunit + # - theme + # if: github.event_name == 'push' + # env: + # ANSIBLE_FORCE_COLOR: 1 + # ANSIBLE_HOST_KEY_CHECKING: no + # steps: + # - name: Checkout the code + # uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 + # + # - name: Add the deployment SSH key + # uses: shimataro/ssh-key-action@6f350ca8484d8d55c2e361e74d17e638dabe713a # 2.1.0 + # with: + # key: ${{ secrets.SSH_PRIVATE_KEY }} + # name: id_rsa + # known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} + # + # - name: Cache dependencies + # uses: actions/cache@d9747005de0f7240e5d35a68dca96b3f41b8b340 + # with: + # path: tools/deployment/.roles + # key: dependencies-composer-${{ hashFiles('tools/deployment/requirements.yml') }} + # + # - name: Export the Ansible Vault password + # run: echo $ANSIBLE_VAULT_PASS > tools/deployment/.vault-pass.txt + # env: + # ANSIBLE_VAULT_PASS: ${{ secrets.ANSIBLE_VAULT_PASS }} + # + # - name: Deploy the code + # run: ./run ci:deploy + # + # - name: Remove the Ansible Vault password file + # run: rm tools/deployment/.vault-pass.txt