Skip to content

fix deploy

fix deploy #16

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Remove 'patches' directories from all results
run: find . -type d -name 'patches' -exec rm -rf {} +
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 23.1.0
- name: Install Dependencies
run: cd webpage && npm install
- name: Deploy
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/repairbench/repairbench.github.io.git
cd webpage && npm run deploy -- -u "André Silva <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }}
CI: ""