-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (40 loc) · 1.11 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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