You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
654 B
YAML
30 lines
654 B
YAML
name: Deploy Dev
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
|
|
jobs:
|
|
deploy-dev:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Task
|
|
uses: arduino/setup-task@v2
|
|
|
|
- name: Setup SSH agent
|
|
uses: webfactory/ssh-agent@v0.9.0
|
|
with:
|
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
|
|
- name: Deploy to dev host
|
|
env:
|
|
DEPLOY_HOST: ${{ secrets.DEV_DEPLOY_HOST }}
|
|
DEPLOY_USER: ${{ secrets.DEV_DEPLOY_USER }}
|
|
DEPLOY_PATH: ${{ secrets.DEV_DEPLOY_PATH }}
|
|
DEPLOY_REF: develop
|
|
run: task cd:deploy-dev
|