From 4c346e68226ade9b8877950871c37e24fd844407 Mon Sep 17 00:00:00 2001 From: Kai Martins-Turner Date: Tue, 26 Nov 2024 21:14:39 +0100 Subject: [PATCH 1/4] Fix error in deploy-dtds.yaml I used the wrong comments signs -.- --- .github/workflows/deploy-dtds.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-dtds.yaml b/.github/workflows/deploy-dtds.yaml index caf62f55141..e792136d5c7 100644 --- a/.github/workflows/deploy-dtds.yaml +++ b/.github/workflows/deploy-dtds.yaml @@ -9,7 +9,7 @@ on: jobs: rsync-dtds: - if: github.event.pull_request.merged == true // only if PR closed by merging + if: github.event.pull_request.merged == true # only if PR closed by merging name: sync DTDs to website runs-on: ubuntu-latest From 278ed498f7162cb94997237cf99f09e26f26b661 Mon Sep 17 00:00:00 2001 From: Kai Martins-Turner Date: Tue, 26 Nov 2024 22:10:00 +0100 Subject: [PATCH 2/4] Add empty line to trigger deployment job --- matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd | 1 + 1 file changed, 1 insertion(+) diff --git a/matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd b/matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd index ff3cb9be076..7666298bab0 100644 --- a/matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd +++ b/matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd @@ -127,4 +127,5 @@ + From 411b7b0062257d0b18f3f6c50dc2717c6ae19278 Mon Sep 17 00:00:00 2001 From: Kai Martins-Turner Date: Wed, 27 Nov 2024 11:15:18 +0100 Subject: [PATCH 3/4] Update deploy-dtds.yaml Add checkout command before copying the files, because GITHUB-WORKSPACE will be relative to the checkout location. --- .github/workflows/deploy-dtds.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-dtds.yaml b/.github/workflows/deploy-dtds.yaml index e792136d5c7..09d94069d76 100644 --- a/.github/workflows/deploy-dtds.yaml +++ b/.github/workflows/deploy-dtds.yaml @@ -14,6 +14,7 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: rsync dtds uses: burnett01/rsync-deployments@7.0.1 with: From 0b0c7ba41e8c122fec6d7a6831c92730617bf835 Mon Sep 17 00:00:00 2001 From: Kai Martins-Turner Date: Wed, 27 Nov 2024 12:09:38 +0100 Subject: [PATCH 4/4] remove empty line to trigger workflow --- matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd | 1 - 1 file changed, 1 deletion(-) diff --git a/matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd b/matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd index 7666298bab0..ff3cb9be076 100644 --- a/matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd +++ b/matsim/src/main/resources/dtd/lspsDefinitions_v1.xsd @@ -127,5 +127,4 @@ -