mirror of
https://github.com/inventree/inventree-website.git
synced 2025-09-18 17:11:27 +00:00
* initial commit * More updates * More updates * More updates * Add news entyr * Update image * Update gallery images * Refactor blog post * Breaking change for notification methods * Fix notification plugin docs * Add more breaking changeas * Feature updates * Add donation links * blog post - machine registry updates * Add note on docker image change * Add note on changelog file * Update _posts/2025-08-25-1.0.0.md Co-authored-by: Matthias Mair <code@mjmair.com> * Update _posts/2025-08-25-1.0.0.md Co-authored-by: Matthias Mair <code@mjmair.com> * Update _posts/2025-08-25-1.0.0.md Co-authored-by: Matthias Mair <code@mjmair.com> * Update _posts/2025-08-25-1.0.0.md Co-authored-by: Matthias Mair <code@mjmair.com> * Add note on user experience survey * Add final note about survey * Fix stats file * Update blog post * Ignore polar.sh links * Fix links * More link fixes * Further fixes * Fix python link --------- Co-authored-by: Matthias Mair <code@mjmair.com>
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
name: Build pages and publish
|
|
|
|
on:
|
|
push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: 3.2.2
|
|
bundler-cache: true
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '14'
|
|
- run: npm install
|
|
- name: Build site
|
|
uses: limjh16/jekyll-action-ts@v2
|
|
with:
|
|
enable_cache: true
|
|
- run: bundle exec htmlproofer ./_site --no-check-external-hash --no-enforce-https --ignore-urls "/localhost/,/www.linkedin.com/,digitalocean.com,/cloud.digitalocean.com/,marketplace.digitalocean.com/,polar.sh,/reddit.com/r/inventree/,/twitter.com/inventreedb/,/github.com/,/developer.digikey.com/,/patreon.com/,/partkeepr.org/,/download.dymo.com/,brother.com.au"
|
|
name: Check links
|
|
- name: Deploy
|
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main'}}
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_branch: 'gh-pages'
|
|
publish_dir: ./_site
|