From d02af9d462fd06b1c588c003cfff6fed56d10c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Latzarus?= Date: Thu, 9 Jan 2025 18:08:45 +0100 Subject: [PATCH] build: remove preview action --- .github/workflows/preview.yml | 43 ----------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/preview.yml diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml deleted file mode 100644 index bc355e0..0000000 --- a/.github/workflows/preview.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Preview - -on: - pull_request: - -jobs: - - preview: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - - name: Get last commit message - id: get_commit_message - run: echo "COMMIT_MESSAGE=$(git log -1 --pretty=%B)" >> $GITHUB_ENV - - # https://github.com/marketplace/actions/netlify-actions - - name: Deploy to Netlify - uses: nwtgck/actions-netlify@v3.0 - with: - publish-dir: './dist' - github-token: ${{ secrets.GITHUB_TOKEN }} - production-branch: main - deploy-message: ${{ env.COMMIT_MESSAGE }} - enable-pull-request-comment: false - netlify-config-path: ./netlify.toml - alias: preview-${{ github.event.number }} - github-deployment-environment: preview - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - timeout-minutes: 1