about summary refs log tree commit diff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-13 22:02:02 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-13 22:02:02 +0100
commit84986f0fb478ce537924e61e6bcf8913c5edbf05 (patch)
tree79ef13047eba7f787faa9e69b91193301cc3e734 /.github/workflows/build.yml
parent017ba46ae0ad99f75337caabb072c40eabb4f24e (diff)
downloadkronika-84986f0fb478ce537924e61e6bcf8913c5edbf05.tar.gz
kronika-84986f0fb478ce537924e61e6bcf8913c5edbf05.zip
Fix workflow
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6e73545..9e543fd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -12,6 +12,9 @@ jobs:
       - run: ./gen
 
       - name: Deploy to Netlify
+        env:
+          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
+          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
         uses: nwtgck/actions-netlify@v1.1
         with:
           publish-dir: './dest'
@@ -21,9 +24,6 @@ jobs:
           enable-pull-request-comment: true
           enable-commit-comment: true
           overwrites-pull-request-comment: true
-          env:
-            NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
-            NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
 
       - name: Deploy 🚀
         uses: JamesIves/github-pages-deploy-action@3.7.1