Initial WebOS portfolio site

This commit is contained in:
Greg Hendrickson
2026-01-27 22:26:18 +00:00
commit 9c61ec863b
6 changed files with 887 additions and 0 deletions

36
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: Deploy
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy to server
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_SSH_KEY }}
port: ${{ secrets.SERVER_PORT }}
source: "index.html,css/,js/,assets/"
target: "/var/www/webos"
strip_components: 0
- name: Set permissions
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_SSH_KEY }}
port: ${{ secrets.SERVER_PORT }}
script: |
sudo chown -R www-data:www-data /var/www/webos
sudo chmod -R 755 /var/www/webos