diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8722c4..e18ba14 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -38,4 +39,4 @@ jobs: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }} - + local-dir: out