Skip to content

fix(admin): improve forbidden object management #328

fix(admin): improve forbidden object management

fix(admin): improve forbidden object management #328

Workflow file for this run

name: Deploy to GitHub Pages
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
website-test-deploy:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: website/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: ./website
- name: Test build website
run: npm run build
working-directory: ./website
website-deploy:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: website/package-lock.json
- uses: webfactory/ssh-agent@v0.5.0
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Deploy to GitHub Pages
env:
USE_SSH: true
run: |
git config --global user.email "gh-actions@stustapay.de"
git config --global user.name "gh-actions"
npm ci
npm run deploy
working-directory: ./website