Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
Allow redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
s1204IT committed Jun 2, 2024
1 parent 71de165 commit 49fe233
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: GitHub Pages

on:
push:
branches:
- archive

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3

- name: Install dependencies
run: |
gem install bundler
bundle install
- name: Build site
run: bundle exec jekyll build --destination docs/_site

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_site
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gem 'jekyll', '~> 4.3.2'
gem 'jekyll-redirect-from', '~> 0.16.0'
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
plugins:
- jekyll-redirect-from

baseurl: "/docs"
File renamed without changes.
4 changes: 4 additions & 0 deletions docs/open/TouchSetupLogin.apk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: redirect
redirect_to: https://github.com/Kobold831/SetupLogin/releases/download/latest/TouchSetupLogin.apk
---

0 comments on commit 49fe233

Please sign in to comment.