Compare commits

..

No commits in common. "a91bb9dc4fbce75051020e2b782f07b28fbba775" and "e5f0a70f97a15c3ce64b548028e1f1e4db3d073e" have entirely different histories.

3 changed files with 3 additions and 15 deletions

View File

@ -6,17 +6,6 @@
depth: 15 depth: 15
steps: steps:
test:
image: docker
commands:
- apk add curl
- docker build .
when:
branch:
exclude: ["master", "main"]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
build: build:
image: docker image: docker
commands: commands:
@ -28,7 +17,6 @@ steps:
- 'curl http://100.113.98.36:4000/api/update -H "Authorization: Bearer $COMPOSE_TOKEN"' - 'curl http://100.113.98.36:4000/api/update -H "Authorization: Bearer $COMPOSE_TOKEN"'
secrets: [docker_username, docker_password, compose_token] secrets: [docker_username, docker_password, compose_token]
when: when:
branch: branch: "master"
include: ["master", "main"]
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock

View File

@ -1,4 +1,4 @@
FROM node:22 AS builder FROM node:21 AS builder
COPY . /src COPY . /src
WORKDIR /src WORKDIR /src

View File

@ -1,7 +1,7 @@
import { load } from "cheerio"; import { load } from "cheerio";
import { readFile, writeFile } from "fs"; import { readFile, writeFile } from "fs";
import process from "child_process"; import process from "child_process";
import stores from "./stores.json" with { type: "json" }; import stores from "./stores.json" assert { type: "json" };
function GetRecentChanges() { function GetRecentChanges() {
const res = process const res = process