Hosting auf Netlify für einfachere User Test
This commit is contained in:
1 parent
027f722d69
commit
1c6dcea906
1 file changed
+21
@@ -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 }}
|
||||||
Reference in new issue
Block a user