-
Hello, I'm making use of your action on a GitHub Enterprise instance and I'm having a bit of trouble getting my successfully-built VuePress project to "stick". To Reproduce
Expected behavior Workaround
So of course, with all that I've written above, does anyone know what could be going wrong? Is it possible that the issue lies on my side, on the GitHub Enterprise instance I'm using, or on something else? Very happy if anybody has an idea. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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 ]
needs: build
steps:
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: .vuepress/dist If it helps, I can also post the output from our build agents - but as mentioned, the build seems to work without issue. And the module.exports = {
title: "redacted",
description: "redacted",
base: "/redacted/repo-redacted/",
themeConfig: {
nav: [
{ text: "Home", link: "/" },
{ text: "About", link: "/about/" }
],
lastUpdated: "Last Updated",
docsRepo: "https://git.redacted.com/redacted/repo-redacted",
editLinks: true,
editLinkText: "Help us improve this page!",
sidebar: "auto",
logo: "/favicon.ico"
},
head: [["link", { rel: "icon", href: "/favicon.ico" }]],
plugins: [
["@vuepress/active-header-links"],
[
"vuepress-plugin-container",
{
type: "feature",
before: (info) => `<div class="feature"><h2>${info}</h2><p>`,
after: "</p></div>"
}
],
[
"container",
{
type: "quote"
}
],
[
"vuepress-plugin-container",
{
type: "feature_box",
before: '<div class="features">',
after: "</div>"
}
]
]
}; |
Beta Was this translation helpful? Give feedback.
Here's the workflow file by the way: