You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
push:
|
|
git submodule foreach --recursive 'git push'
|
|
git push origin master
|
|
hugo:
|
|
open http://localhost:1313/seuh2022
|
|
hugo -D -p 1313 server
|
|
staging:
|
|
open http://localhost:1414/seuh2022-website
|
|
hugo --baseURL=http://localhost:1414/seuh2022-website/ -p 1414 -e staging server
|
|
production:
|
|
open http://localhost:1515/seuh2022/
|
|
hugo --baseURL=http://localhost:1515/seuh2022/ -p 1515 -e production server
|
|
build_production:
|
|
hugo --minify
|
|
build_staging:
|
|
hugo --minify -e staging
|
|
update_theme:
|
|
git submodule update --init --recursive
|
|
deploy:
|
|
git push production master
|
|
pages:
|
|
open https://webgit.k8s.sqa.ddnss.org/snowball/hugo-test
|
|
open https://drone.k8s.sqa.ddnss.org/snowball/hugo-test/
|
|
open https://github.com/seuh2022/seuh2022-website
|
|
open https://seuh.org/seuh2022
|
|
# make check f=gh-tag.yml
|
|
check:
|
|
ruby -ryaml -e "puts YAML.load(STDIN.read).inspect" < .github/workflows/$(f)
|
|
actions:
|
|
open https://github.com/seuh2022/seuh2022-website/actions
|
|
# make tag t="t5"
|
|
tag:
|
|
echo "create and push tag $(t)"
|
|
git tag $(t)
|
|
git submodule foreach --recursive 'git push'
|
|
git push origin master $(t)
|
|
#git push origin $(t)
|
|
open https://github.com/seuh2022/seuh2022-website/actions
|