File tree Expand file tree Collapse file tree 7 files changed +27
-23
lines changed
Expand file tree Collapse file tree 7 files changed +27
-23
lines changed Original file line number Diff line number Diff line change 77git clone --depth=1 --branch=gh-pages git@github.com:scijava/status.scijava.org site &&
88mv -f index-new.html site/index.html &&
99cd site &&
10- if [ " $TRAVIS_BUILD_NUMBER " ]
11- then
12- commitNote=" Travis build $TRAVIS_BUILD_NUMBER "
13- else
14- commitNote=$( date)
15- fi &&
1610if git diff --quiet index.html
1711then
1812 echo " == No new changes =="
1913else
2014 echo " == Pushing changes =="
15+ commitNote=" $( TZ=UCT date +' %Y-%M-%d %H:%m:%S UCT' ) "
2116 git commit -m " Update component table ($commitNote )" index.html &&
2217 git push
2318fi
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ mkdir -p " $HOME /.ssh"
3+ echo " $SSH_PRIVATE_KEY " > " $HOME /.ssh/id_ed25519"
4+ chmod -R -w,o-rwx,g-rwx " $HOME /.ssh"
Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Set up CI environment
16+ run : .github/setup.sh
17+ - name : Execute the build
18+ run : .github/build.sh
19+ env :
20+ SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- [ ![ ] ( https://travis-ci.org /scijava/status.scijava.org.svg?branch=master )] ( https://travis-ci.org /scijava/status.scijava.org )
1+ [ ![ ] ( https://github.com /scijava/status.scijava.org/workflows/build/badge .svg )] ( https://github.com /scijava/status.scijava.org/actions/workflows/build.yml )
22
33This repository contains code to update the
44[ SciJava component status table] ( https://status.scijava.org/ ) .
Original file line number Diff line number Diff line change 9696</ tr >
9797< tr >
9898< td > < a href ="https://github.com/scijava/status.scijava.org "> scijava/status.scijava.org</ a > </ td >
99- < td class ="badge "> < a href ="https://travis-ci.org /scijava/status.scijava.org "> < img src ="https://travis-ci.org /scijava/status.scijava.org.svg?branch=master "> </ a > </ td >
99+ < td class ="badge "> < a href ="https://github.com /scijava/status.scijava.org/actions/workflows/build.yml "> < img src ="https://github.com /scijava/status.scijava.org/workflows/build/badge .svg "> </ a > </ td >
100100< td class ="badge "> -</ td >
101101</ tr >
102102< tr >
You can’t perform that action at this time.
0 commit comments