Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/push-to-elsewhere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# - UNAME, EMAIL for git config
# - CODEBERG for codeberg.org token
# - GITLAB for gitlab.com token
# - SOURCEHUT for sourcehut.sr.ht token
# - SOURCEHUT_SSH_KEY for sourcehut.sr.ht SSH private key

name: push-to-elsewhere

Expand Down Expand Up @@ -46,5 +46,17 @@ jobs:
git push --tags codeberg main
git remote add gitlab https://${{secrets.UNAME}}:${{secrets.GITLAB}}@gitlab.com/ropensci/osmdata.git
git push --tags gitlab main
git remote add originsh https://${{secrets.UNAME}}:${{secrets.SOURCEHUT}}@git.sr.ht/~mpadge/osmdata.git
git push --tags originsh main

- name: Setup SSH for SourceHut
run: |
mkdir -p ~/.ssh
ssh-keyscan -t rsa git.sr.ht >> ~/.ssh/known_hosts
echo "${{ secrets.SOURCEHUT_SSH_KEY }}" > ~/.ssh/id_sourcehut
chmod 600 ~/.ssh/id_sourcehut
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_sourcehut

- name: Add SourceHut remote and push
run: |
git remote add sourcehut git@git.sr.ht:~mpadge/osmdata
git push --tags sourcehut main
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: osmdata
Title: Import 'OpenStreetMap' Data as Simple Features or Spatial Objects
Version: 0.3.0.9022
Version: 0.3.0.9023
Authors@R: c(
person("Joan", "Maspons", , "joanmaspons@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2286-8727")),
Expand Down
Loading