Skip to content

Commit

Permalink
Merge pull request #3438 from matsim-org/deploy-dtds
Browse files Browse the repository at this point in the history
add github action to deploy dtds
  • Loading branch information
mrieser authored Aug 30, 2024
2 parents 5ab0c63 + 55226f4 commit a8540db
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy-dtds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: deploy-dtds-on-website

on:
push:
branches:
- master
paths:
- matsim/src/main/resources/dtd

jobs:
rsync-dtds:
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 }}

0 comments on commit a8540db

Please sign in to comment.