Skip to content

Assets build and deploy successfully to gh-pages branch, but publishing fails #742

Answered by pltzr
pltzr asked this question in Q&A
Discussion options

You must be logged in to vote

Here's the workflow file by the way:

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Publish Docs

on:
  workflow_dispatch:
  push:
    branches: 
      - master
#    branches:
#    - release/*
  
jobs:
  build:
    runs-on: [ self-hosted ]
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        with:
          node-version: 12

      - name: Install and Build
        run: |
          npm ci
          npm run build
          

  deploy:
    runs-on: [ self-hosted ]
    …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JamesIves
Comment options

@pltzr
Comment options

@pltzr
Comment options

Answer selected by pltzr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants