mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
test gh pages
This commit is contained in:
30
.github/workflows/gatsby.yml
vendored
Normal file
30
.github/workflows/gatsby.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Gatsby GH Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [10.x, 12.x, 14.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Gatsby Publish
|
||||
uses: enriikke/gatsby-gh-pages-action@v2.1.1
|
||||
with:
|
||||
access-token: ${{ secrets.ACCESS_TOKEN }}
|
||||
deploy-branch: gh-pages
|
||||
working-dir: docs
|
||||
gatsby-args: --prefix-paths
|
||||
@@ -1,6 +1,6 @@
|
||||
const config = {
|
||||
gatsby: {
|
||||
pathPrefix: "/",
|
||||
pathPrefix: "/Discordeno",
|
||||
siteUrl: "https://discordeno.js.org",
|
||||
gaTrackingId: null,
|
||||
trailingSlash: false,
|
||||
|
||||
Reference in New Issue
Block a user