Merge pull request #552 from forumone/uat-forumone #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to UAT | |
on: | |
push: | |
branches: | |
- uat* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.0' | |
- name: Install SSH key | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_KEY }} | |
- name: Acquia known hosts | |
run: | | |
echo "${{ secrets.KNOWN_HOSTS }}" >> ~/.ssh/known_hosts | |
- name: Install dev dependencies | |
run: | | |
composer install | |
- name: Build the artifact | |
run: | | |
vendor/bin/blt deploy --branch="uat-build" --commit-msg="Automated deployment of a UAT branch" --verbose --ignore-dirty |