Skip to content

Create snapshot from R-multiverse #2

Create snapshot from R-multiverse

Create snapshot from R-multiverse #2

Workflow file for this run

on:
workflow_dispatch:
name: Create snapshot from R-multiverse
jobs:
snapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: download snapshot
run: |
rm -Rf src bin docs
curl "https://raw.githubusercontent.com/r-multiverse/staging/main/snapshot.url" -Lo snapshot.url
cat snapshot.url | xargs curl -Lo snapshot.zip
unzip snapshot.zip && rm -f snapshot.zip
- name: commit and push
run: |
git config --global user.name github-actions
git config --global user.email actions@github.com
git add .
git commit -m "R-multiverse snapshot ($(date +%F))"
git push