aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-08 16:33:42 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-08 16:33:42 +0200
commitc973004276b808ef60f732941e76deaa17c6428c (patch)
tree1618184d322274b60bec9aa4d7cdb92b348d051f /.github/workflows/main.yml
parent084fe34b3d966ef8983977e5515c82d2b5721579 (diff)
downloadmarkdown-rs-c973004276b808ef60f732941e76deaa17c6428c.tar.gz
markdown-rs-c973004276b808ef60f732941e76deaa17c6428c.tar.bz2
markdown-rs-c973004276b808ef60f732941e76deaa17c6428c.zip
Add redirect
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f3ab672..7d13126 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -30,6 +30,7 @@ jobs:
# - run: cargo install cargo-tarpaulin && cargo tarpaulin --out Xml
# - uses: codecov/codecov-action@v1
- run: cargo doc --document-private-items --no-deps --release
+ - run: echo '<!doctypehtml><html lang=en><meta charset=utf8><title>Redirecting…</title><link rel=canonical href=https://wooorm.com/micromark-rs/micromark><script>location = "https://wooorm.com/micromark-rs/micromark"</script><meta http-equiv=refresh content=0;url=https://wooorm.com/micromark-rs/micromark><meta name=robots content=noindex><body><h1>Redirecting…</h1><p><a href=https://wooorm.com/micromark-rs/micromark>Click here if you are not redirected.</a>' > target/doc/index.html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.3.3
with: