Skip to content

Merge pull request #444 from codeigniter4projects/develop #31

Merge pull request #444 from codeigniter4projects/develop

Merge pull request #444 from codeigniter4projects/develop #31

Workflow file for this run

name: "Deploy to Production"
on:
push:
branches: [master]
jobs:
deploy:
name: "Deploy to Production"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
fingerprint: ${{ secrets.FINGERPRINT }}
script: /opt/website/.github/scripts/deploy.sh