Skip to content

Commit 6b183ce

Browse files
author
polybluez
committed
build: add stub redirect to web.doom2d.org
1 parent 6479085 commit 6b183ce

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/redirect.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Deploy to Pages
2+
3+
# Runs on pushes targeting things that look like the default branch
4+
on:
5+
push:
6+
branches: ["main", "master"]
7+
workflow_dispatch:
8+
9+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: true
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
environment:
23+
name: github-pages
24+
url: ${{ steps.deployment.outputs.page_url }}
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
- name: Build site
29+
run: |
30+
mkdir -p result
31+
cp index.html result/
32+
- name: Upload artifact
33+
uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: ./result
36+
- name: Deploy site
37+
id: deployment
38+
uses: actions/deploy-pages@v4

index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!DOCTYPE html>
2+
<meta charset="utf-8">
3+
<link rel="shortcut icon" type="image/x-icon" href="https://doom2d.org/favicon.ico">
4+
<title>Redirecting to Doom2D.org</title>
5+
<meta http-equiv="refresh" content="0; URL=https://doom2d.org">
6+
<link rel="canonical" href="https://doom2d.org/">

0 commit comments

Comments
 (0)