Skip to content

Commit

Permalink
Fix GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
KingRainbow44 committed Aug 12, 2023
1 parent 26cce86 commit 963933a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Archive Production Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: production
path: build
path: dist

deploy:
needs: build
Expand All @@ -30,14 +30,14 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- name: Download Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: production
path: build
path: dist
- name: ZIP Artifact
uses: vimtor/action-zip@v1
with:
files: build/
files: dist/
dest: build.zip
- name: Deploy to seiKiMo
uses: KingRainbow44/upload-file@v1
Expand Down

0 comments on commit 963933a

Please sign in to comment.