Compare commits
10 Commits
514a72db86
...
master
Author | SHA1 | Date | |
---|---|---|---|
57a1d9f997 | |||
417d3dc69c | |||
0541963bef | |||
ff75682bdc | |||
9dbac2d5d6 | |||
2a949233f6 | |||
d34d179ebe | |||
1af3b7c2a7 | |||
8795220c3e | |||
6e61442129 |
@ -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
3
.gitignore
vendored
@ -8,4 +8,5 @@ yarn-error.log*
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
.vscode/*
|
||||
.vscode/*
|
||||
.idea/*
|
11
Dockerfile
Normal file
11
Dockerfile
Normal 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;"]
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"root": ".",
|
||||
"clean_urls": false,
|
||||
"routes": {
|
||||
"/": "index.html"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user