add new github action for netlify version

This commit is contained in:
plebeius.eth
2023-09-10 15:46:16 +02:00
parent ccacb91b80
commit 3a6bdb6d81
2 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -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()) {