Switch deploy to meli
Some checks failed
Building & Deploying Website / Deploy-Website (push) Failing after 21s
Some checks failed
Building & Deploying Website / Deploy-Website (push) Failing after 21s
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
name: Building & Deploying Website
|
name: Building & Deploying Website
|
||||||
on: [push]
|
on: [push]
|
||||||
|
env:
|
||||||
|
MELI_SITE: "musikverein-molbergen"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Deploy-Website:
|
Deploy-Website:
|
||||||
@@ -19,7 +21,13 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
||||||
- name: Publish
|
- name: "publish"
|
||||||
run: |
|
run: |
|
||||||
mkdir /data/website
|
npx -p "@getmeli/cli" meli upload ./public \
|
||||||
cp public/* /data/website
|
--url "https://pages.hogertz.eu" \
|
||||||
|
--site "$MELI_SITE" \
|
||||||
|
--token "$MELI_TOKEN" \
|
||||||
|
--release "$GITHUB_SHA"
|
||||||
|
env:
|
||||||
|
MELI_TOKEN: ${{ secrets.MELI_TOKEN }}
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user