Merge pull request #750 from usdoj/WS-000-update-autologout #238
This file contains hidden or 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 dev | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.3' | |
| - name: Install SSH key | |
| uses: webfactory/ssh-agent@v0.5.4 | |
| 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="develop-build" --commit-msg="Automated deployment of develop branch" --verbose --ignore-dirty |