Delete .forgejo/workflows/deploy.yml

This commit is contained in:
Warunee Tamkoo 2025-10-02 14:50:56 +07:00 committed by GitHub
parent 58c9833be9
commit b7a609dc79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,29 +0,0 @@
name: Build
on:
workflow_dispatch:
inputs:
version:
description: "Version to deploy"
type: string
required: false
default: "latest"
env:
IMAGE_VERSION: build
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Remote Deploy
uses: appleboy/ssh-action@v1.2.1
with:
host: ${{ vars.SSH_DEPLOY_HOST }}
port: ${{ vars.SSH_DEPLOY_PORT }}
username: ${{ secrets.SSH_DEPLOY_USER }}
password: ${{ secrets.SSH_DEPLOY_PASSWORD }}
script: |
cd ~/repo
./replace-env.sh API_ORG "${{ inputs.version }}"
./deploy.sh hrms-api-org