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