Some checks failed
Deploy to Netlify / deploy (push) Has been cancelled
Hosting auf Netlify für einfachere User Test
21 lines
565 B
YAML
21 lines
565 B
YAML
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 }} |