Skip to content

Update a DTD to trigger updated deploy-dtd workflow #1

Update a DTD to trigger updated deploy-dtd workflow

Update a DTD to trigger updated deploy-dtd workflow #1

Workflow file for this run

name: deploy-dtds-on-website
on:
pull_request:
types:
- closed
paths:
- 'matsim/src/main/resources/dtd/**'
jobs:
rsync-dtds:
if: github.event.pull_request.merged == true // only if PR closed by merging

Check failure on line 12 in .github/workflows/deploy-dtds.yaml

View workflow run for this annotation

GitHub Actions / deploy-dtds-on-website

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-dtds.yaml (Line: 12, Col: 9): Unexpected symbol: '//'. Located at position 43 within expression: github.event.pull_request.merged == true // only if PR closed by merging
name: sync DTDs to website
runs-on: ubuntu-latest
steps:
- name: rsync dtds
uses: burnett01/[email protected]
with:
switches: -avz
path: matsim/src/main/resources/dtd/
remote_path: ~/httpdocs/files/dtd/
remote_host: ${{ secrets.WEBSITE_DEPLOY_HOST }}
remote_user: ${{ secrets.WEBSITE_DEPLOY_USER }}
remote_key: ${{ secrets.WEBSITE_SSH_PRIVATE_KEY }}