Update a DTD to trigger updated deploy-dtd workflow #1
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: 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 GitHub Actions / deploy-dtds-on-websiteInvalid workflow file
|
||
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 }} |