diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..1bf17d02f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,14 @@ +name: Deploy +on: + push: + branches: + - main + jobs: + deploy: + steps: + - name: Deploy + run: | + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/repairbench/repairbench.github.io.git + npm run deploy + env: + GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }}