Skip to content

Commit

Permalink
chore: add readPolygonVizgenParquet() to fun index
Browse files Browse the repository at this point in the history
- Also try adding cron job for nightly website fast forwards and builds
  • Loading branch information
jiajic committed Mar 21, 2024
1 parent 95ade1f commit 52dfd4e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/mirror_from_upstream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Mirror from Upstream

on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight
workflow_dispatch: # Allow manual trigger

jobs:
mirror-from-upstream:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all branches and tags

- name: Set up Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
- name: Fastforward from upstream
run: |
git remote add upstream https://github.com/drieslab/Giotto.git
git fetch upstream
git checkout suite
git merge --ff-only upstream/suite
- name: Check for fast-forward
run: |
if ! git merge-base --is-ancestor HEAD upstream/suite; then
echo "Fast-forward not possible. Aborting merge."
exit 1
fi
- name: Push changes
run: |
git push origin suite
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ reference:
- GiottoClass::stitchTileCoordinates
- readPolygonFilesVizgen
- readPolygonFilesVizgenHDF5
- readPolygonVizgenParquet
- getGEFtxCoords
- title: Images
desc: Functions to work with images for a Giotto object.
Expand Down

0 comments on commit 52dfd4e

Please sign in to comment.