chore: Config imgbot to run monthly #224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
Deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.0" | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Build website | |
run: JEKYLL_ENV=production bundle exec jekyll build --lsi | |
- name: Create .nojekyll file | |
run: touch _site/.nojekyll | |
- name: Upload the docs | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: _site/ | |
clean-exclude: | | |
.nojekyll | |
CNAME | |
- name: Tell google to reindex | |
run: curl "https://www.google.com/ping?sitemap=https://${{ secrets.WWW_DIR }}/sitemap.xml" |