Hosting auf Netlify für einfachere User Test
This commit is contained in:
parent
027f722d69
commit
1c6dcea906
21
.gitea/workflows/deploy.yml
Normal file
21
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Deploy to Netlify
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main # ANPASSUNG 1: Dein Haupt-Branch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest # ANPASSUNG 2: Der Gitea-Runner
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Deploy to Netlify
|
||||||
|
uses: nwtgck/actions-netlify@v2.0
|
||||||
|
with:
|
||||||
|
publish-dir: '.' # ANPASSUNG 3: Dein Projektordner
|
||||||
|
production-deploy: true
|
||||||
|
env:
|
||||||
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
Loading…
x
Reference in New Issue
Block a user