Skip to content

Commit

Permalink
update website
Browse files Browse the repository at this point in the history
  • Loading branch information
zenith391 committed Oct 22, 2024
1 parent a88594a commit 146bf18
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 1,409 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
run: |
hugo --minify
- name: Upload webstie
- name: Upload website
run: |
mkdir -p ~/.ssh/
echo "$SSH_PRIVATE_KEY" > ../private.key
sudo chmod 600 ../private.key
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
rsync -ave "ssh -i $SSH_KEY_PATH -p 8058" public/* zenith@bwsecondary.ddns.net:/etc/nginx/html/html/html_capy
rsync -ave "ssh -i $SSH_KEY_PATH" public/* root@capy-ui.org:/usr/share/www/capy-ui.org
shell: bash
env:
SSH_PRIVATE_KEY: ${{secrets.SSH_PRIVATE_KEY}}
Expand Down
2 changes: 1 addition & 1 deletion content/demos.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Source: [examples/osm-viewer.zig](https://github.com/capy-ui/capy/blob/master/ex

{{< rawhtml >}}
<div>
<a href="/zig-osm/" target="_blank"><img alt="Image of the example running on Linux, it contains a map centered on London, and 'London' written in a text field above" src="/img/osm-viewer-gtk.png"></a>
<a href="/zig-osm/" target="_blank"><img alt="Image of the example running on Linux, it contains a map centered on London, and 'London' written in a text field above" src="/img/osm-viewer-gtk.jpg"></a>
</div>
{{< /rawhtml >}}

Expand Down
2 changes: 1 addition & 1 deletion push.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
hugo --minify
cp -r ../capy-related/documentation/build/* ./public/docs
rsync -ave "ssh -p 8058" public/* zenith@bwsecondary.ddns.net:/etc/nginx/html/html/html_capy
rsync -ave "ssh" public/* root@capy-ui.org:/usr/share/www/capy-ui.org

Loading

0 comments on commit 146bf18

Please sign in to comment.