mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add new github action for netlify version
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ export default function App() {
|
||||
|
||||
// Check for commit hash if commitRef is defined
|
||||
if (commitRef.length > 0) {
|
||||
const commitRes = await fetch('https://raw.githubusercontent.com/plebbit/plebchan/development/public/latest_commit.txt', { cache: 'no-cache' });
|
||||
const commitRes = await fetch('https://raw.githubusercontent.com/plebbit/plebchan/development/public/latest_dev_commit.txt', { cache: 'no-cache' });
|
||||
const latestCommit = await commitRes.text();
|
||||
|
||||
if (latestCommit.trim() !== commitRef.trim()) {
|
||||
|
||||
Reference in New Issue
Block a user