-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from oboril/main
Ready for publication
- Loading branch information
Showing
35 changed files
with
604 additions
and
339 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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Deploy example data | ||
name: Example Data | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "example-data" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
deploy-example-data: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# Prepare data | ||
- name: Prepare Data | ||
run: | | ||
cp -r example_data _temp | ||
# Configure Git, Important for actions to commit | ||
- name: Configure Git | ||
run: | | ||
git config --global user.email "jan.oboril@gmail.com" | ||
git config --global user.name "Jan Oboril" | ||
# Check if branch exists and create or clean it | ||
- name: Prepare Branch | ||
run: | | ||
git checkout -b example-data | ||
git pull origin example-data --rebase || true | ||
# Add the compressed data file | ||
- name: Add Data and Commit | ||
run: | | ||
git rm -rf . | ||
mv _temp/* . | ||
ls -la | ||
rm -rf _temp | ||
git add README.md calibration/* reaction_ba_ome_nme2/* | ||
git commit -m "Added example data" || true | ||
# Push the branch to remote | ||
- name: Push Changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: example-data |
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,4 +5,6 @@ dist | |
.mypy_cache | ||
.ipynb_checkpoints | ||
*/.ipynb_checkpoints/* | ||
.idea | ||
.idea | ||
venv | ||
example_data/unnest_data.sh |
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
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
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
Oops, something went wrong.