Skip to content

Merge pull request #991 from SlovakNationalGallery/WEBUMENIA-2072 #87

Merge pull request #991 from SlovakNationalGallery/WEBUMENIA-2072

Merge pull request #991 from SlovakNationalGallery/WEBUMENIA-2072 #87

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