Skip to content

Commit 7de305b

Browse files
committed
kleine wijziging
1 parent 588db5f commit 7de305b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
branches:
55
- main
66
- develop
7-
# pull_request:
8-
# release:
9-
# types: [published]
7+
pull_request:
8+
release:
9+
types: [published]
1010

1111
jobs:
1212
build:
@@ -17,7 +17,7 @@ jobs:
1717
uses: ./.github/workflows/check.yml
1818

1919
publish:
20-
# if: github.ref == 'refs/heads/main' || github.event_name == 'release'
20+
if: github.event_name == 'release'
2121
needs: check
2222
uses: ./.github/workflows/publish.yml
2323
secrets:

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
rm -f *.md *.html
2929
mv ~/static/snapshot.html index.html
3030
mkdir content
31-
cp -r index.html data media js content/
31+
cp -r index.html data media js css content/
3232
3333
- name: Extract & validate publishing metadata
3434
id: metadata
@@ -137,7 +137,7 @@ jobs:
137137
run: |
138138
mkdir -p docs.geostandaarden.nl/${{ steps.metadata.outputs.folderPath }}
139139
cp -r content/* docs.geostandaarden.nl/${{ steps.metadata.outputs.folderPath }}/
140-
rm -r docs.geostandaarden.nl/${{ steps.metadata.outputs.folderPath }}/js
140+
rm docs.geostandaarden.nl/${{ steps.metadata.outputs.folderPath }}/js/config.js
141141
- name: Create PR
142142
uses: peter-evans/create-pull-request@v5
143143
with:

0 commit comments

Comments
 (0)