updated github action
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
11
.github/workflows/deploy-hetzner.yaml
vendored
11
.github/workflows/deploy-hetzner.yaml
vendored
@@ -6,15 +6,14 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel Previous Runs
|
|
||||||
uses: styfle/cancel-workflow-action@0.12.1
|
|
||||||
with:
|
|
||||||
access_token: ${{ github.token }}
|
|
||||||
|
|
||||||
- name: Cloning repo
|
- name: Cloning repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -32,7 +31,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push to dokku
|
- name: Push to dokku
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
uses: dokku/github-action@master
|
uses: dokku/github-action@v1
|
||||||
with:
|
with:
|
||||||
branch: main
|
branch: main
|
||||||
git_remote_url: ${{ secrets.HETZNER_GIT_URI }}
|
git_remote_url: ${{ secrets.HETZNER_GIT_URI }}
|
||||||
|
Reference in New Issue
Block a user