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:
|
||||
- 'README.md'
|
||||
# - '.github/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
|
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@ -11,7 +11,6 @@ on:
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
# - '.github/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@ -28,10 +27,12 @@ jobs:
|
||||
touch /home/runner/.ssh/id_rsa
|
||||
echo -e "${{secrets.SSH_KEY}}" > /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
|
||||
shell: bash
|
||||
run: |
|
||||
ssh -tt gitea@${{secrets.SSH_HOST}}
|
||||
ssh -tt -o StrictHostKeyChecking=no gitea@${{secrets.SSH_HOST}}
|
||||
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:
|
||||
- 'README.md'
|
||||
# - '.github/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
Reference in New Issue
Block a user