diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e2503f2f..917195347 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -99,8 +99,7 @@ jobs: - name: Deploy if: | - startsWith(matrix.os, 'ubuntu-18.04') && - github.ref == 'refs/heads/main' + startsWith(matrix.os, 'ubuntu-18.04') uses: ./ with: # deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} diff --git a/action.yml b/action.yml index 175640d02..08fe37353 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: 'GitHub Pages action' description: 'GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.' author: 'peaceiris' runs: - using: 'node12' + using: 'node14' main: 'lib/index.js' branding: icon: 'upload-cloud'