mirror of
https://github.com/actions/setup-node
synced 2025-04-09 10:25:52 +00:00
Add files via upload
This commit is contained in:
parent
7e6c11ae29
commit
35c01a0472
2 changed files with 127 additions and 0 deletions
60
book.txt
Normal file
60
book.txt
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Sample workflow for building and deploying a mdBook site to GitHub Pages
|
||||
#
|
||||
# To get started with mdBook see: https://rust-lang.github.io/mdBook/index.html
|
||||
#
|
||||
name: Deploy mdBook site to Pages
|
||||
|
||||
on:
|
||||
# Runs on pushes targeting the default branch
|
||||
push:
|
||||
branches: ["main"]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
||||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
# Build job
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
MDBOOK_VERSION: 0.4.21
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install mdBook
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
|
||||
rustup update
|
||||
cargo install --version ${MDBOOK_VERSION} mdbook
|
||||
- name: Setup Pages
|
||||
id: pages
|
||||
uses: actions/configure-pages@v3
|
||||
- name: Build with mdBook
|
||||
run: mdbook build
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
path: ./book
|
||||
|
||||
# Deployment job
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
67
index.html
Normal file
67
index.html
Normal file
|
@ -0,0 +1,67 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||||
<title>nox-build-matrix | GitHub action to generate a build matrix for a project’s Noxfile</title>
|
||||
<meta name="generator" content="Jekyll v3.9.3" />
|
||||
<meta property="og:title" content="nox-build-matrix" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta name="description" content="GitHub action to generate a build matrix for a project’s Noxfile" />
|
||||
<meta property="og:description" content="GitHub action to generate a build matrix for a project’s Noxfile" />
|
||||
<link rel="canonical" href="https://devlynnx.github.io/nox-build-matrix/" />
|
||||
<meta property="og:url" content="https://devlynnx.github.io/nox-build-matrix/" />
|
||||
<meta property="og:site_name" content="nox-build-matrix" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="nox-build-matrix" />
|
||||
<script type="application/ld+json">
|
||||
{"@context":"https://schema.org","@type":"WebSite","description":"GitHub action to generate a build matrix for a project’s Noxfile","headline":"nox-build-matrix","name":"nox-build-matrix","url":"https://devlynnx.github.io/nox-build-matrix/"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="stylesheet" href="/nox-build-matrix/assets/css/style.css?v=c48f256fef61260970437ba955b92faaf1955e9e">
|
||||
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
|
||||
|
||||
<!-- Setup Google Analytics -->
|
||||
|
||||
|
||||
|
||||
<!-- You can set your favicon here -->
|
||||
<!-- link rel="shortcut icon" type="image/x-icon" href="/nox-build-matrix/favicon.ico" -->
|
||||
|
||||
<!-- end custom head snippets -->
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-lg px-3 my-5 markdown-body">
|
||||
|
||||
<h1><a href="https://devlynnx.github.io/nox-build-matrix/">nox-build-matrix</a></h1>
|
||||
|
||||
|
||||
<ul>
|
||||
<li>👋 Hi, I’m @Devlynnx</li>
|
||||
<li>👀 I’m interested in …Freedom</li>
|
||||
<li>🌱 I’m currently learning …Matrix</li>
|
||||
<li>💞️ I’m looking to collaborate on …All things new!</li>
|
||||
<li>📫 How to reach me …@devlynnx</li>
|
||||
</ul>
|
||||
|
||||
<!---
|
||||
Devlynnx/Devlynnx is a ✨ special ✨ repository because its `README.md` (this file) appears on your GitHub profile.
|
||||
You can click the Preview link to take a look at your changes.
|
||||
--->
|
||||
|
||||
|
||||
|
||||
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">
|
||||
This site is open source. <a href="https://github.com/Devlynnx/nox-build-matrix/edit/main/README.md">Improve this page</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
|
||||
<script>anchors.add();</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Reference in a new issue