Skip to content

[FEATURE] Add module-site-settings #142

[FEATURE] Add module-site-settings

[FEATURE] Add module-site-settings #142

Workflow file for this run

name: Site
on:
push:
branches:
- main
env:
NODE: 20.x
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
if: github.repository == 'typo3/typo3.icons'
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '${{ env.NODE }}'
- name: Set up cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
- name: Install
run: npm ci
- name: Build icons
run: npm run icons-build
- name: Build site
run: npm run site-build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
allow_empty_commit: false
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./_site/