ci: remove the deploy step for now

This commit is contained in:
Oliver Davies 2021-12-17 23:48:25 +00:00
parent e2fc9d98c7
commit 11f5ca6e92

View file

@ -174,43 +174,43 @@ jobs:
- run: bin/phpstan analyze - run: bin/phpstan analyze
deploy: # deploy:
name: Deploy via Ansible # name: Deploy via Ansible
runs-on: ubuntu-latest # runs-on: ubuntu-latest
needs: # needs:
- install # - install
- phpcs # - phpcs
- phpstan # - phpstan
- phpunit # - phpunit
- theme # - theme
if: github.event_name == 'push' # if: github.event_name == 'push'
env: # env:
ANSIBLE_FORCE_COLOR: 1 # ANSIBLE_FORCE_COLOR: 1
ANSIBLE_HOST_KEY_CHECKING: no # ANSIBLE_HOST_KEY_CHECKING: no
steps: # steps:
- name: Checkout the code # - name: Checkout the code
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
#
- name: Add the deployment SSH key # - name: Add the deployment SSH key
uses: shimataro/ssh-key-action@6f350ca8484d8d55c2e361e74d17e638dabe713a # 2.1.0 # uses: shimataro/ssh-key-action@6f350ca8484d8d55c2e361e74d17e638dabe713a # 2.1.0
with: # with:
key: ${{ secrets.SSH_PRIVATE_KEY }} # key: ${{ secrets.SSH_PRIVATE_KEY }}
name: id_rsa # name: id_rsa
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} # known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
#
- name: Cache dependencies # - name: Cache dependencies
uses: actions/cache@d9747005de0f7240e5d35a68dca96b3f41b8b340 # uses: actions/cache@d9747005de0f7240e5d35a68dca96b3f41b8b340
with: # with:
path: tools/deployment/.roles # path: tools/deployment/.roles
key: dependencies-composer-${{ hashFiles('tools/deployment/requirements.yml') }} # key: dependencies-composer-${{ hashFiles('tools/deployment/requirements.yml') }}
#
- name: Export the Ansible Vault password # - name: Export the Ansible Vault password
run: echo $ANSIBLE_VAULT_PASS > tools/deployment/.vault-pass.txt # run: echo $ANSIBLE_VAULT_PASS > tools/deployment/.vault-pass.txt
env: # env:
ANSIBLE_VAULT_PASS: ${{ secrets.ANSIBLE_VAULT_PASS }} # ANSIBLE_VAULT_PASS: ${{ secrets.ANSIBLE_VAULT_PASS }}
#
- name: Deploy the code # - name: Deploy the code
run: ./run ci:deploy # run: ./run ci:deploy
#
- name: Remove the Ansible Vault password file # - name: Remove the Ansible Vault password file
run: rm tools/deployment/.vault-pass.txt # run: rm tools/deployment/.vault-pass.txt