Browse Source

Setting the CI to export the config files

environments/production/deployments/5
Drew Short 7 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 expire_in: 6 hours
paths: paths:
- dist/**/*.lua - dist/**/*.lua
- dist/**/*.cfg
only: only:
- master - master
- develop - develop

2
gruntfile.js

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

2
src/spm/spm.lua

@ -22,7 +22,7 @@ end
local internet = require("internet") local internet = require("internet")
--local repoLocationConfig="https://raw.githubusercontent.com/OpenPrograms/openprograms.github.io/master/repos.cfg" --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(...) local args, options = shell.parse(...)

Loading…
Cancel
Save