Skip to content

Commit f6df515

Browse files
author
Alian Rignack Quevedo
committed
Merge build and deploy job to fix a known issue
This is the issue JamesIves/github-pages-deploy-action#102
1 parent cce4917 commit f6df515

File tree

1 file changed

+5
-25
lines changed

1 file changed

+5
-25
lines changed

.github/workflows/blank.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,9 @@ jobs:
3535
- name: Build
3636
run: npm run build:ci
3737

38-
39-
- name: Archive build
40-
if: success()
41-
uses: actions/upload-artifact@v1
38+
- name: Deploy to GitHub Pages
39+
uses: JamesIves/github-pages-deploy-action@releases/v3
4240
with:
43-
name: deploy_dist
44-
path: dist/pwatest
45-
46-
47-
deploy:
48-
runs-on: ubuntu-latest
49-
needs: build
50-
steps:
51-
- name: Checkout
52-
uses: actions/checkout@v1
53-
54-
- name: Download build
55-
uses: actions/download-artifact@v1
56-
with:
57-
name: deploy_dist
58-
- name: Deploy to GitHub Pages
59-
uses: JamesIves/github-pages-deploy-action@releases/v3
60-
with:
61-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
BRANCH: gh-pages
63-
FOLDER: dist/pwa-tutorial-gitconnected
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
BRANCH: gh-pages
43+
FOLDER: dist/pwa-tutorial-gitconnected

0 commit comments

Comments
 (0)