More changes
This commit is contained in:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -11,7 +11,6 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
# - '.github/**'
|
# - '.github/**'
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
|
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@ -11,7 +11,6 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
# - '.github/**'
|
# - '.github/**'
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@ -28,10 +27,12 @@ jobs:
|
|||||||
touch /home/runner/.ssh/id_rsa
|
touch /home/runner/.ssh/id_rsa
|
||||||
echo -e "${{secrets.SSH_KEY}}" > /home/runner/.ssh/id_rsa
|
echo -e "${{secrets.SSH_KEY}}" > /home/runner/.ssh/id_rsa
|
||||||
chmod 700 /home/runner/.ssh/id_rsa
|
chmod 700 /home/runner/.ssh/id_rsa
|
||||||
ssh-keyscan -t rsa,dsa,ecdsa,ed25519 ${{secrets.SSH_HOST}} >> /home/runner/.ssh/known_hosts
|
ssh-keygen -R ${{secrets.SSH_HOST}}
|
||||||
|
|
||||||
- name: SSH to the Prod env
|
- name: SSH to the Prod env
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
ssh -tt gitea@${{secrets.SSH_HOST}}
|
ssh -tt -o StrictHostKeyChecking=no gitea@${{secrets.SSH_HOST}}
|
||||||
whoiam
|
whoiam
|
||||||
|
|
||||||
|
# ssh-keyscan -t rsa,dsa,ecdsa,ed25519 ${{secrets.SSH_HOST}} >> /home/runner/.ssh/known_hosts
|
||||||
|
1
.github/workflows/testing.yml
vendored
1
.github/workflows/testing.yml
vendored
@ -11,7 +11,6 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
# - '.github/**'
|
# - '.github/**'
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
Reference in New Issue
Block a user