Skip to content

Commit

Permalink
GitLab -> GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexmmaldonado committed Aug 15, 2024
1 parent 721921c commit d0cd30d
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 29 deletions.
68 changes: 68 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Deploy documentation

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
deploy:
name: docs
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install miniconda
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
auto-update-conda: true
python-version: "3.12"

- name: Initialize conda environment
run: make conda-create

- name: Setup conda
run: make conda-setup

- name: Install conda dependencies
run: make from-conda-lock

- name: Install docs dependenices
run: make install

- name: Build documentation
run: make docs

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'public/'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
19 changes: 0 additions & 19 deletions .gitlab-ci.yml

This file was deleted.

1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ git push --follow-tags

## License

Code contained in this project is released under the [MIT License](https://spdx.org/licenses/MIT.html) as specified in [`LICENSE_CODE`](https://gitlab.com/oasci/breadcrumbs/compbio/-/blob/main/LICENSE_CODE.md).
This license grants you the freedom to use, modify, and distribute it as long as you include the original copyright notice contained in [`LICENSE_CODE`](https://gitlab.com/oasci/breadcrumbs/compbio/-/blob/main/LICENSE_CODE.md) and the following notice.
Code contained in this project is released under the [MIT License](https://spdx.org/licenses/MIT.html) as specified in [`LICENSE_CODE`](https://github.com/oasci-bc/compbio/blob/main/LICENSE_CODE.md).
This license grants you the freedom to use, modify, and distribute it as long as you include the original copyright notice contained in [`LICENSE_CODE`](https://github.com/oasci-bc/compbio/blob/main/LICENSE_CODE.md) and the following notice.

> Portions of this code were incorporated and adapted with permission from [Computational Biology Breadcrumbs](https://gitlab.com/oasci/compbio) by OASCI licensed under the [MIT license](https://gitlab.com/oasci/breadcrumbs/compbio/-/blob/main/LICENSE_CODE.md).
> Portions of this code were incorporated and adapted with permission from [Computational Biology Breadcrumbs](https://gitlab.com/oasci/compbio) by OASCI licensed under the [MIT license](https://github.com/oasci-bc/compbio/blob/main/LICENSE_CODE.md).
All other data, information, documentation, and associated content provided within this project are released under the [Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)](https://creativecommons.org/licenses/by-sa/4.0/) as specified in [`LICENSE_INFO`](https://gitlab.com/oasci/breadcrumbs/compbio/-/blob/main/LICENSE_INFO.md).
All other data, information, documentation, and associated content provided within this project are released under the [Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)](https://creativecommons.org/licenses/by-sa/4.0/) as specified in [`LICENSE_INFO`](https://github.com/oasci-bc/compbio/blob/main/LICENSE_INFO.md).
This means you are free to share and adapt the non-code elements, but you must give appropriate credit to the original source and indicate if changes were made.

> Some content was incorporated and adapted with permission [Computational Biology Breadcrumbs](https://gitlab.com/oasci/compbio) by OASCI licensed under the [CC BY-SA 4.0 license](https://gitlab.com/oasci/breadcrumbs/compbio/-/blob/main/LICENSE_INFO.md)
> Some content was incorporated and adapted with permission [Computational Biology Breadcrumbs](https://gitlab.com/oasci/compbio) by OASCI licensed under the [CC BY-SA 4.0 license](https://github.com/oasci-bc/compbio/blob/main/LICENSE_INFO.md)
7 changes: 3 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ docs_dir: docs
site_name: Computational Biology - Breadcrumbs
site_author: OASCI

repo_name: oasci/breadcrumbs/python-bc
repo_url: https://gitlab.com/oasci/breadcrumbs/python-bc
edit_uri: -/edit/main/python-bc
repo_name: oasci/compbio
repo_url: https://github.com/oasci-bc/compbio
copyright: <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> by OASCI

# https://squidfunk.github.io/mkdocs-material/
Expand All @@ -29,7 +28,7 @@ theme:
text: Roboto
code: Roboto Mono
icon:
repo: fontawesome/brands/gitlab
repo: fontawesome/brands/github
annotation: material/star-four-points-circle
features:
- content.code.annotate
Expand Down

0 comments on commit d0cd30d

Please sign in to comment.