From 8031bfc1c88a2a17b0ae5e49bb42a7469c10d4ff Mon Sep 17 00:00:00 2001 From: Dmitry Misharov Date: Sun, 5 Feb 2023 09:11:49 +0100 Subject: [PATCH] Fix deploy --- .github/workflows/deploy.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 5d7b280..1ca1b13 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -19,15 +19,17 @@ jobs: env: VERSION: ${{ github.ref_name }} run: make video_addon - - name: Deploy to Netlify - env: - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - VERSION: ${{ github.ref_name }} - run: make deploy + - name: List files + run: ls -lh - name: Create a release uses: softprops/action-gh-release@v1 with: files: video.kino.pub-${{ github.ref_name }}.zip generate_release_notes: true fail_on_unmatched_files: true + - name: Deploy to Netlify + env: + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + VERSION: ${{ github.ref_name }} + run: make deploy