diff --git a/.github/workflows/deploy_redirects.yml b/.github/workflows/deploy_redirects.yml index 452ce04..8f0f504 100644 --- a/.github/workflows/deploy_redirects.yml +++ b/.github/workflows/deploy_redirects.yml @@ -2,6 +2,8 @@ name: Deploy redirects.conf on: push: + branches: + - master paths: - 'neo4jComRedirects/redirects-labs.conf' diff --git a/.github/workflows/developer.yml b/.github/workflows/developer.yml index 2f2cac9..52c52d2 100644 --- a/.github/workflows/developer.yml +++ b/.github/workflows/developer.yml @@ -53,14 +53,14 @@ jobs: AWS_REGION: ${{ secrets.AWS_S3_REGION }} SOURCE_DIR: 'build/site/' - # - name: Invalidate CloudFront Cache - # uses: chetan/invalidate-cloudfront-action@v2 - # env: - # DISTRIBUTION: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION }} - # PATHS: "/*" - # AWS_REGION: ${{ secrets.AWS_S3_REGION }} - # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + - name: Invalidate CloudFront Cache + uses: chetan/invalidate-cloudfront-action@v2 + env: + DISTRIBUTION: ${{ vars.AWS_CLOUDFRONT_DISTRIBUTION }} + PATHS: "/labs/* /developer/*" + AWS_REGION: ${{ secrets.AWS_S3_REGION }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # Index into Algolia # - run: npm run index diff --git a/labs-docs.yml b/labs-docs.yml index d37fd28..9bae5dc 100644 --- a/labs-docs.yml +++ b/labs-docs.yml @@ -8,7 +8,7 @@ content: branches: ['master'] start_path: doc/docs # - url: https://github.com/neo4j-contrib/neo4j-apoc-procedures - # branches: ['5.15', '4.4', '4.3', '4.2', '4.1', '4.0'] + # branches: ['5.16', '4.4', '4.3', '4.2', '4.1', '4.0'] # start_path: docs/asciidoc - url: https://github.com/neo4j-labs/neosemantics branches: ['5.14','4.3', '4.2', '4.1', '4.0']