Kaynağa Gözat

Remove delpoy from node workflow

Giovanni Giordano 5 yıl önce
ebeveyn
işleme
d41dc4cf1f
2 değiştirilmiş dosya ile 3 ekleme ve 13 silme
  1. 1 1
      .github/workflows/deploy.yml
  2. 2 12
      .github/workflows/nodejs.yml

+ 1 - 1
.github/workflows/deploy.yml

@@ -20,4 +20,4 @@ jobs:
       with:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         BRANCH: gh-pages
-        FOLDER: BUILD
+        FOLDER: build

+ 2 - 12
.github/workflows/nodejs.yml

@@ -9,6 +9,7 @@ jobs:
 
     steps:
     - uses: actions/checkout@v1
+    
     - name: Setup Node.js 12.x
       uses: actions/setup-node@v1
       with:
@@ -19,15 +20,4 @@ jobs:
         npm ci
         npm test
       env:
-        CI: true
-
-    - name: Build
-      run: |
-        npm run  build
-
-    - name: Deploy
-      uses: JamesIves/github-pages-deploy-action@releases/v3
-      with:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        BRANCH: gh-pages
-        FOLDER: dist
+        CI: true