mirror of
https://github.com/cupcakearmy/memoir.git
synced 2025-02-23 06:19:26 +00:00
remove github runner
This commit is contained in:
parent
4550b301a1
commit
aa9d0798e3
19
.github/actions/build/action.yaml
vendored
19
.github/actions/build/action.yaml
vendored
@ -1,19 +0,0 @@
|
|||||||
name: "Build"
|
|
||||||
description: "Install deps and build docs"
|
|
||||||
|
|
||||||
runs:
|
|
||||||
using: "composite"
|
|
||||||
steps:
|
|
||||||
- uses: pnpm/action-setup@v2
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version-file: .nvmrc
|
|
||||||
cache: "pnpm"
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pnpm install --frozen-lockfile
|
|
||||||
shell: bash
|
|
||||||
- name: Build
|
|
||||||
run: pnpm build
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
NEXT_TELEMETRY_DISABLED: "1"
|
|
35
.github/workflows/preview.yaml
vendored
35
.github/workflows/preview.yaml
vendored
@ -1,35 +0,0 @@
|
|||||||
name: Docs
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pages: write
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: "pages"
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
environment:
|
|
||||||
name: github-pages
|
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- uses: ./.github/actions/build
|
|
||||||
|
|
||||||
- uses: actions/configure-pages@v3
|
|
||||||
- uses: actions/upload-pages-artifact@v1
|
|
||||||
with:
|
|
||||||
path: "./out"
|
|
||||||
- id: deployment
|
|
||||||
uses: actions/deploy-pages@v1
|
|
Loading…
x
Reference in New Issue
Block a user