aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/deploy.yml
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-07-22 15:50:35 -0400
committerFurkan Sahin <furkan-dev@proton.me>2022-07-22 15:50:35 -0400
commit60861ee254d28ab7e122aca8d9ee526a4ee07060 (patch)
treefb9c31487c6f40fb597f0507e41e100143a3f723 /.github/workflows/deploy.yml
parent54daafa537a3550a7463d150c6c7d2c2abc2ba0c (diff)
[fixing workflow] move back to old workflow using `JamesIves/github-pages-deploy-action`
Diffstat (limited to '.github/workflows/deploy.yml')
-rw-r--r--.github/workflows/deploy.yml22
1 files changed, 16 insertions, 6 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 69ae404..44d0b9e 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -2,16 +2,26 @@ name: Deploy to GitHub Pages
on:
push:
- branches: [master]
+ branches: [ master ]
jobs:
- build-and-deploy:
+ build:
runs-on: ubuntu-latest
steps:
- - name: Checkout 🛎️
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v2
- - name: Install and Build 🔧
+ - name: Setup Node
+ uses: actions/setup-node@v2
+ with:
+ node-version: '14'
+
+ - name: Install and Build
run: |
npm ci
- npm run deploy \ No newline at end of file
+ npm run build
+
+ - name: Deploy to GitHub Pages
+ uses: JamesIves/github-pages-deploy-action@4.1.5
+ with:
+ branch: gh-pages
+ folder: dist \ No newline at end of file