Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nightly-sync.yml 831B

1234567891011121314151617181920212223242526272829303132333435
  1. name: Nightly Sync of content
  2. on:
  3. schedule:
  4. - cron: '0 3 * * *' # run daily at 3am
  5. jobs:
  6. checks:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v2
  10. - uses: actions/setup-node@v1
  11. with:
  12. node-version: "12.x"
  13. - name: Install
  14. run: npm ci
  15. - name: Collect latest releases
  16. run: npm run build
  17. - name: Commit changes
  18. uses: EndBug/add-and-commit@v4
  19. with:
  20. author_name: GitHub Action
  21. author_email: action@github.com
  22. message: "feat: Nightly Sync"
  23. - name: Push changes
  24. # Only run this on the main nodejs repo and not forks
  25. if: github.repository == 'chicoxyzzy/node-releases'
  26. uses: ad-m/github-push-action@v0.5.0
  27. with:
  28. github_token: ${{ secrets.GITHUB_TOKEN }}