iluwatar / java-design-patterns-vuepress-web

Next generation website for Java Design Patterns
https://java-design-patterns.com
MIT License
264 stars 64 forks source link

Scheduled deployments #6

Closed ohbus closed 1 year ago

ohbus commented 3 years ago

The deployment is being cancelled because netlify is detecting no content change in this repository.

The content is going to be changed more in the git repositories which it is building for generate the website.

There are few things that we need to make sure for this to perform well:

iluwatar commented 1 year ago
# ./.github/workflows/main.yml

name: Trigger Netlify Build
on:
  schedule:
    - cron: '0 0 * * *' # Once a day
jobs:
  build:
    name: Request Netlify Webhook
    runs-on: ubuntu-latest
    steps:
      - name: POST to Build Hook
        run: curl -X POST -d {} https://api.netlify.com/build_hooks/<YOUR_HOOK_ID>