Skip to content

Update destination filename dev.yml #16

Update destination filename dev.yml

Update destination filename dev.yml #16

Workflow file for this run

name: PR Deploy
on:
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
deploy-pr:
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: uses: hngprojects/pr-deploy@1.0.0

Check failure on line 20 in .github/workflows/pr-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
with:
server_host: ${{ secrets.SERVER_HOST }}
server_username: ${{ secrets.SERVER_USERNAME }}
server_password: ${{ secrets.SERVER_PASSWORD }}
server_port: ${{ secrets.SERVER_PORT }}
comment: true
context: '.'
dockerfile: 'Dockerfile'
exposed_port: '8000'
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 }}"