Skip to content

Dev Deployment

Dev Deployment #1

name: Dev Deployment
on:
workflow_run:
workflows: ["Build and Push"]
types:
- completed
jobs:
deploy_to_dev:
if: github.event.repository.fork == false
runs-on: ubuntu-latest
environment:
name: "dev"
url: ${{ vars.URL }}
steps:
- name: Deploy to dev environment
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script: |
./deploy_dev.sh next