mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-02-06 01:06:29 +00:00
fix gh pages
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -195,11 +195,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: |
|
||||
git branch -a
|
||||
git switch gh-pages
|
||||
echo '
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
@@ -207,8 +203,11 @@ jobs:
|
||||
<meta http-equiv="refresh" content="0; URL=https://docs.firez.one/1.0.0/">
|
||||
<link rel="canonical" href="https://docs.firez.one/1.0.0/">
|
||||
' > index.html
|
||||
git add index.html
|
||||
git commit -m "Update index.html"
|
||||
- uses: EndBug/add-and-commit@v7
|
||||
with:
|
||||
message: Add index.html
|
||||
add: index.html
|
||||
branch: gh-pages
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||
@@ -230,11 +229,6 @@ jobs:
|
||||
echo 'baseurl: "1.0.0"' >> _config.yml
|
||||
echo 'url: "https://docs.firez.one"' >> _config.yml
|
||||
bundle exec jekyll build --destination 1.0.0
|
||||
# - uses: EndBug/add-and-commit@v7
|
||||
# with:
|
||||
# message: Add index.html
|
||||
# add: index.html
|
||||
# branch: gh-pages
|
||||
- name: Publish Docs
|
||||
uses: JamesIves/github-pages-deploy-action@v4.2.2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user