-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename team-deployment.yml to kimiko-golang-deploy.yml
Signed-off-by: Destiny Saturday <[email protected]>
- Loading branch information
1 parent
097d528
commit e7e1566
Showing
2 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file was deleted.
Oops, something went wrong.