Skip to content

Commit

Permalink
Remove doc sources (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcamise-gpsw authored Apr 19, 2024
1 parent ad2f30a commit eeb63d6
Show file tree
Hide file tree
Showing 132 changed files with 31 additions and 162,739 deletions.
2 changes: 1 addition & 1 deletion .admin/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@ fi

VERSION=$1

main
main
17 changes: 0 additions & 17 deletions .admin/jekyll/Dockerfile

This file was deleted.

30 changes: 0 additions & 30 deletions .admin/jekyll/Gemfile

This file was deleted.

92 changes: 0 additions & 92 deletions .admin/jekyll/entrypoint.sh

This file was deleted.

17 changes: 0 additions & 17 deletions .admin/linkchecker/Dockerfile

This file was deleted.

26 changes: 0 additions & 26 deletions .admin/linkchecker/entrypoint.sh

This file was deleted.

125 changes: 0 additions & 125 deletions .admin/linkchecker/parse_linkchecker_results.py

This file was deleted.

46 changes: 1 addition & 45 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Jekyll Build and Deploy

on:
push:
branches: [main, develop]
branches: [main]
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -126,47 +126,3 @@ jobs:
git config user.email [email protected]
git commit --allow-empty -m "sphinx build from Action ${GITHUB_SHA}"
git push
jekyll:
name: Build and Deploy Jekyll Site
needs: [copyright, check, python_sdk]
if: always()
runs-on: ubuntu-latest
steps:
- name: Checkout source branch (the PR branch)
uses: actions/checkout@v3
with:
path: source

- name: Checkout target branch (the gh-pages branch)
uses: actions/checkout@v3
with:
ref: gh-pages
path: target

- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Github Pages
shell: bash
working-directory: ./source
run: |
if [[ ${{ github.repository }} == gopro/OpenGoPro ]]; then
make build
else
make build BUILD_HOST_URL=${{ secrets.STAGING_GH_PAGES_SITE }} BUILD_BASE_URL="\'\'"
fi
- name: Deploy to Github Pages
run: |
cp -r ./source/docs/_site/* ./target
cd ./target
git add .
git config user.name github-actions
git config user.email [email protected]
git commit --allow-empty -m "Github Pages build from Action ${GITHUB_SHA}"
git push
Loading

0 comments on commit eeb63d6

Please sign in to comment.