More changes
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -15,7 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# needs: test
|
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
# if: startsWith(github.ref, 'refs/tags')
|
# if: startsWith(github.ref, 'refs/tags')
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
@ -15,7 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# needs: build-and-push
|
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
@ -34,7 +34,6 @@ jobs:
|
|||||||
- name: SSH to the Prod env
|
- name: SSH to the Prod env
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
ssh -tt -o StrictHostKeyChecking=no gitea@${{secrets.SSH_HOST}}
|
ssh -tt -o StrictHostKeyChecking=no gitea@${{secrets.SSH_HOST}} 'whoami'
|
||||||
whoami
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user