-
Notifications
You must be signed in to change notification settings - Fork 192
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 prdeploy.yml to pr-deploy.yml
- Loading branch information
1 parent
3b32e47
commit ec6e339
Showing
2 changed files
with
27 additions
and
80 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: 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 }} |
This file was deleted.
Oops, something went wrong.