Skip to content

Commit

Permalink
add redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
OneeMe committed Nov 27, 2024
1 parent 92c8d54 commit a320a3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
run: swift --version
- name: Build
run: xcrun docc convert swift-6-beta.docc --output-path ./docs --transform-for-static-hosting --experimental-enable-custom-templates
- name: Copy Redirects
run: cp swift-6-beta.docc/_redirects ./docs/_redirects
- name: Publish
uses: cloudflare/pages-action@v1
with:
Expand Down
1 change: 1 addition & 0 deletions swift-6-beta.docc/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/ /documentation/the-swift-programming-language 301!

0 comments on commit a320a3c

Please sign in to comment.