Merge Logistics (LSP) into freight contrib #5
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 | |
name: sync DTDs to website | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 }} |