Merge pull request #1019 from SlovakNationalGallery/WEBUMENIA-2089 #119
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 "main" branch to test instance | |
on: | |
push: | |
branches: | |
- main | |
concurrency: deploy_test | |
jobs: | |
test: | |
uses: ./.github/workflows/_test.yml | |
deploy: | |
needs: test | |
name: Deploy | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
- name: Deploy | |
uses: deployphp/action@v1 | |
with: | |
private-key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} | |
known-hosts: ${{ secrets.DEPLOY_SSH_KNOWN_HOSTS }} | |
deployer-version: 7.0.0-rc.8 | |
dep: deploy test |