-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad2f30a
commit eeb63d6
Showing
132 changed files
with
31 additions
and
162,739 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -224,4 +224,4 @@ fi | |
|
||
VERSION=$1 | ||
|
||
main | ||
main |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ name: Jekyll Build and Deploy | |
|
||
on: | ||
push: | ||
branches: [main, develop] | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
@@ -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 |
Oops, something went wrong.