Publish Action
Playwright Tests / test (push) Failing after 1m10s Details
Vercel Preview Deployment / Deploy-Preview (push) Has been cancelled Details

This commit is contained in:
matthieu42morin 2024-04-29 18:32:03 +02:00
parent e7b8dc721a
commit 96f282d53a
1 changed files with 11 additions and 12 deletions

View File

@ -7,27 +7,26 @@ on:
jobs: jobs:
publish: publish:
timeout-minutes: 10 timeout-minutes: 10
runs-on: debian-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
name: Checkout name: Checkout
- name: Build - name: Build
run: | run: |
npm --version && node --version pnpm --version && node --version
npm ci --no-update-notifier pnpm ci
npm run build pnpm run build
- uses: https://github.com/nwtgck/actions-netlify@v2.0 - name: Deploy to Netlify
name: Deploy uses: nwtgck/actions-netlify@v3.0
with: with:
publish-dir: './dist' publish-dir: './dist'
production-deploy: true production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deployed from Gitea Action" deploy-message: "Deploy from GitHub Actions"
enable-commit-comment: false
enable-pull-request-comment: false enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true overwrites-pull-request-comment: true
enable-github-deployment: false
env: env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1 timeout-minutes: 1