Skip to content

Commit

Permalink
test(ci/cd): temporary workflow to test our own gha
Browse files Browse the repository at this point in the history
  • Loading branch information
remdub committed Aug 8, 2024
1 parent ac2c56c commit 2927b54
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-gha.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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_LOCATION: montsaintguibert/theme.zip
PLONE_URL: https://montsaintguibert.preprod.imio.be
PLONE_USERNAME: ${{ secrets.PLONE_USER }}
PLONE_PASSWORD: ${{ secrets.PLONE_PASSWORD }}

0 comments on commit 2927b54

Please sign in to comment.