Compare commits

..

10 Commits

Author SHA1 Message Date
57a1d9f997 what a waste of time that was
All checks were successful
Deploy main page / deploy (push) Successful in 1m9s
2025-07-03 15:06:40 -04:00
417d3dc69c test: attempting to use ssh-agent
Some checks failed
Deploy main page / deploy (push) Failing after 12s
2025-07-03 15:05:00 -04:00
0541963bef test: attempting to use ssh-agent
All checks were successful
Deploy main page / deploy (push) Successful in 15s
2025-07-03 15:00:02 -04:00
ff75682bdc test: attempting to use ssh-agent
All checks were successful
Deploy main page / deploy (push) Successful in 12s
2025-07-03 14:58:56 -04:00
9dbac2d5d6 test: attempting to use ssh-agent
Some checks failed
Deploy main page / deploy (push) Failing after 12s
2025-07-03 14:55:53 -04:00
2a949233f6 test: attempting to use ssh-agent
Some checks failed
Deploy main page / deploy (push) Failing after 19s
2025-07-03 14:54:52 -04:00
d34d179ebe test: attempting to use ssh-agent
Some checks failed
Deploy main page / deploy (push) Failing after 11s
2025-07-03 14:52:32 -04:00
1af3b7c2a7 test: attempting to use ssh-agent
Some checks failed
Deploy main page / deploy (push) Failing after 17s
2025-07-03 14:51:16 -04:00
8795220c3e update .gitignore to ignore ide files
All checks were successful
Deploy main page / deploy (push) Successful in 1m30s
2025-07-03 14:04:04 -04:00
6e61442129 deploy main site with docker 2025-07-03 14:02:45 -04:00
4 changed files with 15 additions and 10 deletions

View File

@ -17,6 +17,7 @@ jobs:
fetch-depth: 0
- name: Set up SSH
id: set-up-ssh
run: |
mkdir -p /home/node/.ssh
echo "$SSH_PRIVATE_KEY" > /home/node/.ssh/dokku-deploy
@ -24,10 +25,9 @@ jobs:
ssh-keyscan -H 192.168.1.46 >> /home/node/.ssh/known_hosts
env:
SSH_PRIVATE_KEY: ${{ secrets.DOKKU_DEPLOY_KEY }}
- name: Deploy to Dokku
env:
GIT_SSH_COMMAND: 'ssh -o UserKnownHostsFile=/home/node/.ssh/known_hosts'
GIT_SSH_COMMAND: 'ssh -A -o UserKnownHostsFile=/home/node/.ssh/known_hosts'
run: |
eval $(ssh-agent -s)
ssh-add /home/node/.ssh/dokku-deploy

3
.gitignore vendored
View File

@ -8,4 +8,5 @@ yarn-error.log*
/.pnp
.pnp.js
.vscode/*
.vscode/*
.idea/*

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
# Use a lightweight nginx image
FROM nginx:alpine
# Copy your static files into the nginx web directory
COPY . /usr/share/nginx/html
# Expose the port nginx serves from
EXPOSE 80
# Start nginx
CMD ["nginx", "-g", "daemon off;"]

View File

@ -1,7 +0,0 @@
{
"root": ".",
"clean_urls": false,
"routes": {
"/": "index.html"
}
}