actions fix numero duo
Publish to Netlify / publish (pull_request) Failing after 13m19s
Details
Publish to Netlify / publish (pull_request) Failing after 13m19s
Details
This commit is contained in:
parent
8c98adb5d0
commit
49a499c506
|
@ -1,14 +0,0 @@
|
|||
name: Deploy to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
uses: importantimport/.github/.github/workflows/pnpm-gh-pages.yml@main
|
||||
permissions:
|
||||
contents: write
|
||||
with:
|
||||
publish_dir: build
|
|
@ -0,0 +1,32 @@
|
|||
name: 'Publish to Netlify'
|
||||
on:
|
||||
push:
|
||||
branches: [ prod, deploy ]
|
||||
pull_request:
|
||||
branches: [ prod, deploy ]
|
||||
jobs:
|
||||
publish:
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
name: Checkout
|
||||
- name: Build
|
||||
run: |
|
||||
pnpm --version && node --version
|
||||
pnpm ci
|
||||
pnpm run build
|
||||
- name: Deploy to Netlify
|
||||
uses: nwtgck/actions-netlify@v3.0
|
||||
with:
|
||||
publish-dir: './dist'
|
||||
production-branch: master
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
deploy-message: "Deploy from GitHub Actions"
|
||||
enable-pull-request-comment: false
|
||||
enable-commit-comment: true
|
||||
overwrites-pull-request-comment: true
|
||||
env:
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||
timeout-minutes: 1
|
Loading…
Reference in New Issue