Host the action on Gitea
Workflows move to .gitea/workflows, which Gitea prefers over .github/workflows when both exist. GitHub Actions can only resolve `uses:` against github.com, so the README now spells out both forms: the full Gitea URL, and the checkout-then-`uses: ./` fallback for a GitHub workflow that has no mirror of this repository.
This commit is contained in:
@@ -60,7 +60,7 @@ jobs:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://github.com/maxvojtkov/dokploy-deploy-action@v1
|
||||
- uses: https://gitea.coolify.vojtkov.dev/usr_unknown/dokploy-deploy-action@v1
|
||||
with:
|
||||
host: ${{ secrets.DOKPLOY_HOST }}
|
||||
api-key: ${{ secrets.DOKPLOY_API_KEY }}
|
||||
|
||||
@@ -66,7 +66,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
steps:
|
||||
- uses: maxvojtkov/dokploy-deploy-action@v1
|
||||
# GitHub only resolves `uses:` against github.com, so this assumes the
|
||||
# action is mirrored there. Pulling it from Gitea instead needs the
|
||||
# checkout-then-`uses: ./` form shown in the README.
|
||||
- uses: your-org/dokploy-deploy-action@v1
|
||||
with:
|
||||
host: ${{ secrets.DOKPLOY_HOST }}
|
||||
api-key: ${{ secrets.DOKPLOY_API_KEY }}
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
environment: ${{ inputs.environment }}
|
||||
steps:
|
||||
- id: deploy
|
||||
uses: maxvojtkov/dokploy-deploy-action@v1
|
||||
uses: https://gitea.coolify.vojtkov.dev/usr_unknown/dokploy-deploy-action@v1
|
||||
with:
|
||||
host: ${{ secrets.DOKPLOY_HOST }}
|
||||
api-key: ${{ secrets.DOKPLOY_API_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user