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:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.12.1
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
|
||||
- name: Cloning repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -32,7 +31,7 @@ jobs:
|
||||
|
||||
- name: Push to dokku
|
||||
timeout-minutes: 20
|
||||
uses: dokku/github-action@master
|
||||
uses: dokku/github-action@v1
|
||||
with:
|
||||
branch: main
|
||||
git_remote_url: ${{ secrets.HETZNER_GIT_URI }}
|
||||
|
Reference in New Issue
Block a user