Skip to content

Commit deceaf1

Browse files
committed
2 parents 392f6e9 + 67ecbf7 commit deceaf1

File tree

4 files changed

+59
-1
lines changed

4 files changed

+59
-1
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: website-screenshot
2+
3+
on:
4+
push:
5+
branches:
6+
- "*"
7+
pull_request:
8+
branches:
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-20.04
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
18+
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
19+
20+
- name: Screenshot website
21+
uses: swinton/[email protected]
22+
with:
23+
source: https://raidionics.github.io/
24+
destination: screenshot.png
25+
26+
- name: Download artifact
27+
uses: dawidd6/action-download-artifact@v2
28+
continue-on-error: false
29+
with:
30+
github_token: ${{secrets.CI_TOKEN}}
31+
workflow: website-screenshot.yml
32+
workflow_conclusion: ""
33+
branch: master
34+
event: push
35+
name: screenshot
36+
repo: raidionics/raidionics.github.io
37+
38+
- name: Debug
39+
run: ls -haltr
40+
41+
- name: Update screenshot in release
42+
uses: svenstaro/upload-release-action@v2
43+
with:
44+
repo_name: raidionics/raidionics.github.io
45+
repo_token: ${{ secrets.CI_TOKEN }}
46+
file: ${{github.workspace}}/screenshot.png
47+
asset_name: screenshot.png
48+
file_glob: true
49+
tag: screenshot-website
50+
overwrite: true

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# raidionics.github.io
2+
3+
[![Website raidionics.github.io](https://img.shields.io/website-up-down-green-red/https/raidionics.github.io.svg)](https://raidionics.github.io/)
4+
5+
<img src="https://github.com/raidionics/raidionics.github.io/releases/download/screenshot-website/screenshot.png" width="100%" height="100%">
6+
7+
Automatically generated snapshot of the current state of the website (created after a successful commit and deployment).

assets/raidionics-slicer-rads.gif

6.41 MB
Loading

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<title>Raidionics</title>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🧠</text></svg>">
78
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
89
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
910
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
@@ -169,7 +170,7 @@ <h3>David Bouget</h3>
169170
<img src="/assets/photo-andre.png" alt="Andre" style="width:50%; margin-left:23.5%">
170171
<div class="w3-container w3-light-grey">
171172
<h3>André Pedersen</h3>
172-
<p class="w3-opacity">Deployment engineer</p>
173+
<p class="w3-opacity">DevOps engineer</p>
173174
174175
<!-- <p><button class="w3-button w3-light-grey w3-block"><i class="fa fa-envelope"></i> Contact</button></p>-->
175176
</div>

0 commit comments

Comments
 (0)