mirror of
https://github.com/Viren070/stremio-addons-list.git
synced 2025-12-01 23:19:02 +01:00
Add simple redirect to stremio-addons.net
Co-authored-by: Viren070 <71220264+Viren070@users.noreply.github.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# .github/workflows/main.yml
|
||||
|
||||
name: Build and Deploy to GitHub Pages
|
||||
name: Deploy Redirect to GitHub Pages
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run at 0815 daily
|
||||
- cron: '15 8 * * *'
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -15,19 +15,6 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Build website
|
||||
run: npm run build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload Build Artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
||||
@@ -34,9 +34,6 @@ bower_components
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Build
|
||||
out/
|
||||
|
||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="refresh" content="0; url=https://stremio-addons.net">
|
||||
<link rel="canonical" href="https://stremio-addons.net">
|
||||
<title>Redirecting to Stremio Addons</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="https://stremio-addons.net">https://stremio-addons.net</a>...</p>
|
||||
<script>
|
||||
window.location.href = "https://stremio-addons.net";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user