Fixed prod build and Actions now creates a sitemap
This commit is contained in:
parent
fabea8cc61
commit
7747bfe0f2
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -30,6 +30,9 @@ jobs:
|
|||||||
run: npx grunt prod
|
run: npx grunt prod
|
||||||
- name: UI Tests
|
- name: UI Tests
|
||||||
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||||
|
- name: Generate sitemap
|
||||||
|
run: npx grunt exec:sitemap
|
||||||
|
# - name: grunt copy:ghPages
|
||||||
# - name: Deploy
|
# - name: Deploy
|
||||||
# uses: peaceiris/actions-gh-pages@v3
|
# uses: peaceiris/actions-gh-pages@v3
|
||||||
# with:
|
# with:
|
||||||
|
@ -242,10 +242,6 @@ module.exports = function (grunt) {
|
|||||||
entry: Object.assign({
|
entry: Object.assign({
|
||||||
main: "./src/web/index.js"
|
main: "./src/web/index.js"
|
||||||
}, moduleEntryPoints),
|
}, moduleEntryPoints),
|
||||||
output: {
|
|
||||||
publicPath: "",
|
|
||||||
globalObject: "this"
|
|
||||||
},
|
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
"./config/modules/OpModules.mjs": "./config/modules/Default.mjs"
|
"./config/modules/OpModules.mjs": "./config/modules/Default.mjs"
|
||||||
|
@ -34,6 +34,10 @@ const banner = `/**
|
|||||||
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
output: {
|
||||||
|
publicPath: "",
|
||||||
|
globalObject: "this"
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
$: "jquery",
|
$: "jquery",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user