Skip to content

Commit

Permalink
Update and rename prdeploy.yml to pr-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrimeJnr authored Aug 12, 2024
1 parent 3b32e47 commit ec6e339
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 80 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pr-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PR Deploy
on:
pull_request_target:
branches:
- dev

jobs:
deploy-pr-for-testing:
environment:
name: preview
url: ${{ steps.deploy.outputs.preview-url }}
runs-on: ubuntu-latest
steps:
- name: Checkout to branch
uses: actions/checkout@v4
- id: deploy
name: Pull Request Deploy
uses: hngprojects/pr-deploy@dev
with:
server_host: ${{ secrets.HOST }}
server_username: ${{ secrets.USERNAME }}
server_password: ${{ secrets.PASSWORD }}
comment: false
context: .
dockerfile: Dockerfile
exposed_port: 5000
github_token: ${{ secrets.GITHUB_TOKEN }}
80 changes: 0 additions & 80 deletions .github/workflows/prdeploy.yml

This file was deleted.

0 comments on commit ec6e339

Please sign in to comment.