diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index ca75ff9..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: deploy - -on: - # https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ - workflow_dispatch: - push: - tags: - - "*" - branches: - - "main" - -jobs: - deploy: - runs-on: ubuntu-latest - name: "Deploy to Netlify" - steps: - - uses: actions/checkout@v2 - - uses: jsmrcaga/action-netlify-deploy@v2.1.0 - with: - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_DEPLOY_MESSAGE: "Prod deploy v${{ github.ref }}" - NETLIFY_DEPLOY_TO_PROD: true - install_command: yarn install - build_command: yarn build - build_directory: dist - node_version: 20