mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2025-04-11 04:50:56 +00:00
Test actions/meli-deploy action
This commit is contained in:
parent
73533604d2
commit
c986f650a1
1 changed files with 8 additions and 13 deletions
|
@ -7,9 +7,6 @@ on:
|
|||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
MELI_SITE: "c27f3ac5-d329-4ca2-ab82-d3eaa79ee95f"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -20,13 +17,11 @@ jobs:
|
|||
uses: actions/setup-zs@main
|
||||
- name: Build site
|
||||
run: make build
|
||||
- name: Publish Site
|
||||
run: |
|
||||
npx -p "@getmeli/cli" meli upload .pub \
|
||||
--url "https://meli.mills.io" \
|
||||
--site "$MELI_SITE" \
|
||||
--token "$MELI_TOKEN" \
|
||||
--release "$GITHUB_SHA"
|
||||
env:
|
||||
MELI_TOKEN: ${{ secrets.MELI_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Deploy site
|
||||
uses: actions/meli-deploy@mail
|
||||
with:
|
||||
action: release
|
||||
meliUrl: https://meli.mills.io
|
||||
meliSiteId: ${{ secrets.MELI_SITE_ID }}
|
||||
meliSiteToken: ${{ secrets.MELI_SITE_TOKEN }}
|
||||
buildFolder: .pub
|
Loading…
Add table
Reference in a new issue