Skip to content

Commit

Permalink
fix: workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
purr-purr committed Feb 27, 2024
1 parent f3a9909 commit 9150ab6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
uses: actions/checkout@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build Dependencies
run: yarn build:deploy
- name: Archive production artifact
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v2
with:
name: out
path: out
path: out

deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
uses: actions/checkout@v2
- name: Download artifact
uses: actions/download-artifact@main
uses: actions/download-artifact@v2
with:
name: out
path: out
Expand All @@ -38,4 +39,4 @@ jobs:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}

local-dir: out

0 comments on commit 9150ab6

Please sign in to comment.