Fix: moved struct in create help center service #53
Workflow file for this run
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
name: PR Deploy for Development | |
on: | |
pull_request: | |
branches: [dev] | |
types: [opened, synchronize, reopened, closed] | |
workflow_dispatch: | |
jobs: | |
deploy-pr: | |
environment: | |
name: development | |
# url: ${{ steps.deploy.outputs.preview-url }} | |
runs-on: ubuntu-latest | |
env: | |
SSH_USERNAME: ${{ secrets.SSH_USERNAME }} | |
SSH_HOST: ${{ secrets.SSH_HOST }} | |
SSH_PORT: ${{ secrets.SSH_PORT }} | |
SSH_PASSWORD: ${{ secrets.SSH_PASSWORD }} | |
steps: | |
- name: Checkout to branch | |
uses: actions/checkout@v4 | |
- id: deploy | |
name: Pull Request Deploy | |
uses: hngprojects/pr-deploy@dev | |
with: | |
server_host: ${{ env.SSH_HOST }} | |
server_username: ${{ env.SSH_USERNAME }} | |
server_password: ${{ env.SSH_PASSWORD }} | |
server_port: ${{ env.SSH_PORT }} | |
comment: true | |
context: '.' | |
dockerfile: 'Dockerfile' | |
exposed_port: '8019' | |
# host_volume_path: '/var/' | |
# container_volume_path: '/var/' | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Print Preview Url | |
run: | | |
echo "Preview Url: ${{ steps.deploy.outputs.preview-url }}" |