Skip to content

Commit

Permalink
update deploy type
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriipavlov committed Dec 20, 2023
1 parent 6dc4fbb commit e0b3630
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/job-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
DEPLOYMENT_NAME:
required: true
type: string
TYPE:
required: true
type: string

jobs:
prepare:
Expand Down Expand Up @@ -63,6 +66,8 @@ jobs:
- name: Install Composer Dependencies
run: |
source ./.env
echo "Default theme: ${WP_DEFAULT_THEME}"
composer update
cd app/wp-content/themes/${{ inputs.WP_DEFAULT_THEME }} && composer update
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/workflow-develop-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ jobs:
DEPLOY_PATH_DESTINATION: /srv/develop.starter-kit.io
WP_DEFAULT_THEME: starter-kit-theme
DEPLOYMENT_NAME: "StarterKit push to develop"
TYPE: dev
4 changes: 2 additions & 2 deletions iasc/ansible/inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
develop.starter-kit.io ansible_user=ubuntu

[staging]
example.com ansible_user=ubuntu
staging.starter-kit.io ansible_user=ubuntu

[production]
starter-kit.io ansible_user=ubuntu
prod.starter-kit.io ansible_user=ubuntu

0 comments on commit e0b3630

Please sign in to comment.