Testing lazy image loading #76
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: Build Workflow | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: '0.123.0' | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.6' | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- run: | | |
gem install coderay | |
gem install pygments.rb | |
which ruby | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
check-latest: true | |
- run: | | |
npm install | |
npm update | |
unset "_JAVA_OPTIONS" | |
npm run build | |
- uses: JamesIves/github-pages-deploy-action@3.7.1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: ./public | |
CLEAN: true | |
- run: | | |
curl http://www.google.com/webmasters/sitemaps/ping?sitemap=https://www.mirkosertic.de/sitemap.xml | |
curl http://www.bing.com/ping?sitemap=https://www.mirkosertic.de/sitemap.xml |