Skip to content

Commit

Permalink
Update and rename team-deployment.yml to kimiko-golang-deploy.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Destiny Saturday  <[email protected]>
  • Loading branch information
ThePrimeJnr authored Jul 28, 2024
1 parent 097d528 commit e7e1566
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 23 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/kimiko-golang-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Kimiko Golang Deployment

on:
workflow_run:
workflows: ["Build and Push"]
types:
- completed

jobs:
team_deployment:
if: github.event.repository.fork == false
runs-on: ubuntu-latest

environment:
name: "kimiko-golang"
url: ${{ vars.URL }}

steps:
- name: Deploy to kimiko-golang environment
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script: |
cd hng_boilerplate_nextjs
./scripts/team_deploy.sh kimiko-golang ${{ vars.PORT }}
23 changes: 0 additions & 23 deletions .github/workflows/team-deployment.yml

This file was deleted.

0 comments on commit e7e1566

Please sign in to comment.