Skip to content

Commit b87b63a

Browse files
authored
Updated docs publish trigger
1 parent 7e4f411 commit b87b63a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/develop-deployment.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches: [ develop ]
66

7-
87
jobs:
98
build-test:
109
runs-on: ubuntu-latest
@@ -25,6 +24,16 @@ jobs:
2524
build: npm run build
2625
start: npm run dev
2726
wait-on: 'http://localhost:3000'
27+
deploy-docs:
28+
needs: build-test
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Trigger Developer Event
32+
uses: peter-evans/repository-dispatch@main
33+
with:
34+
token: ${{ secrets.BUILD_ACCESS_TOKEN }}
35+
repository: neo4j-documentation/docs-refresh
36+
event-type: labs
2837
build-s3:
2938
needs: build-test
3039
runs-on: ubuntu-latest
@@ -46,4 +55,4 @@ jobs:
4655
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
4756
aws-region: us-west-1
4857
- run: curl ${{ secrets.INDEX_HTML_DEPLOYMENT_URL }} > dist/index.html
49-
- run: aws s3 rm s3://neodash-test.graphapp.io/ --recursive && aws s3 sync dist s3://neodash-test.graphapp.io/ --acl public-read
58+
- run: aws s3 rm s3://neodash-test.graphapp.io/ --recursive && aws s3 sync dist s3://neodash-test.graphapp.io/ --acl public-read

0 commit comments

Comments
 (0)