TEMPORARY TEST Build and upload themes #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TEMPORARY TEST Build and upload themes | |
on: | |
workflow_dispatch: | |
jobs: | |
build-push: | |
environment: build-push-quick | |
runs-on: gha-runners-smartweb | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cache nodes modules | |
id: cache-nodes-modules | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
pnpm-lock.yaml | |
key: node_modules-${{ hashFiles('package.json') }} | |
- name: Install node dev dependencies | |
run: | | |
pnpm install --no-frozen-lockfile | |
- name: Build themes | |
run: | | |
echo Building theme for montsaintguibert | |
pnpm --theme=montsaintguibert build | |
- name: Upload theme to plone site | |
uses: IMIO/gha/plone-theme-upload-notify@main | |
with: | |
THEME_PATH: montsaintguibert | |
THEME_FILENAME: theme.zip | |
PLONE_URL: https://montsaintguibert.preprod.imio.be | |
PLONE_USERNAME: ${{ secrets.PLONE_USER }} | |
PLONE_PASSWORD: ${{ secrets.PLONE_PASSWORD }} |