Skip to content

Commit 0cddfc2

Browse files
committed
Cleanup
1 parent 8760694 commit 0cddfc2

File tree

9 files changed

+5
-69
lines changed

9 files changed

+5
-69
lines changed

.github/workflows/updateVersions.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
name: Update Versions
22

3-
# on:
4-
# schedule:
5-
# - cron: "*/15 * * * *"
6-
73
on:
8-
push:
9-
branches:
10-
- master
4+
schedule:
5+
- cron: "*/15 * * * *"
116

127
jobs:
138
build:

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ script:
66
- npm run build
77
deploy:
88
provider: script
9-
script: ./bin/deploy.sh
9+
script: ./scripts/deploy.sh
1010
skip_cleanup: true
1111
on:
1212
all_branches: true

CNAME

-1
This file was deleted.

bin/versions/versionsUpdate.sh

-57
This file was deleted.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "gatsby build",
2020
"start": "gatsby develop",
2121
"serve": "gatsby serve",
22-
"fetchVersions": "node ./bin/versions/fetchVersions.js"
22+
"fetchVersions": "node ./scripts/fetchVersions.js"
2323
},
2424
"devDependencies": {
2525
"classnames": "^2.2.6",
File renamed without changes.
File renamed without changes.

bin/versions/fetchVersions.js renamed to scripts/fetchVersions.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ const fetch = require("node-fetch");
22
const { writeFileSync } = require("fs");
33
const path = require("path");
44

5-
// const __dirname = path.dirname(new URL(import.meta.url).pathname);
6-
const FILE_PATH = path.resolve(__dirname, "../../data/pages/releases/versions.json");
5+
const FILE_PATH = path.resolve(__dirname, "../data/pages/releases/versions.json");
76
const VERSIONS_URL = "https://openui5versiontracker.cfapps.eu10.hana.ondemand.com/OpenUI5ReleasesInfo";
87

98
(async () => {
File renamed without changes.

0 commit comments

Comments
 (0)