Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
andre15silva committed Nov 11, 2024
1 parent 8e918d2 commit ef7175a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]

- 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: ""

0 comments on commit ef7175a

Please sign in to comment.