Merge pull request #2560 from RaiderIO/development #217
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
# Dummy commits done: 2 | |
name: Live Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
name: Deploy to Live | |
runs-on: ubuntu-latest | |
if: github.actor == 'Wotuu' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Composer install | |
uses: php-actions/composer@v6 | |
with: | |
php_version: "8.2" | |
args: "--ignore-platform-req=ext-lua --ignore-platform-req=ext-zip --ignore-platform-req=ext-pcntl --ignore-platform-req=ext-imagick" | |
env: | |
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.DEPLOYER_PAT }}"} }' | |
- name: Setup Deployer | |
uses: atymic/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.DEPLOYER_SSH_PRIVATE_KEY }} | |
ssh-known-hosts: ${{ secrets.DEPLOYER_SSH_KNOWN_HOSTS }} | |
- name: Deploy | |
run: dep deploy live.keystone.guru -vvv |