Browse Source

Setting the CI to export the config files

environments/production/deployments/5
Drew Short 6 years ago
parent
commit
e74227394e
  1. 1
      .gitlab-ci.yml
  2. 2
      gruntfile.js
  3. 2
      src/spm/spm.lua

1
.gitlab-ci.yml

@ -14,6 +14,7 @@ compile:
expire_in: 6 hours
paths:
- dist/**/*.lua
- dist/**/*.cfg
only:
- master
- develop

2
gruntfile.js

@ -8,7 +8,7 @@ module.exports = function (grunt) {
files: [{
expand: true,
cwd: "./src",
src: ["**/license*", "**/*.lua", "*.cfg"],
src: ["**/license*", "**/*.lua", "**/*.cfg"],
dest: "dist/",
filter: 'isFile'
}]

2
src/spm/spm.lua

@ -22,7 +22,7 @@ end
local internet = require("internet")
--local repoLocationConfig="https://raw.githubusercontent.com/OpenPrograms/openprograms.github.io/master/repos.cfg"
local repoLocationConfig = "https://sothr.com/download/oc/releases/repos.cfg"
local repoLocationConfig = "https://sothr.com/download/oc/release/repos.cfg"
local args, options = shell.parse(...)

Loading…
Cancel
Save