-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 1.56 KB
/
pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Pages
# Controls when the action will run. Triggers the workflow on push events for the dev branch
on:
push:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so marp-action can access it
- uses: actions/checkout@v2
- name: Build & Deploy to GitHub Pages
env:
# You may wish to customize MARP_ARGS
# See https://github.com/marp-team/marp-cli#basic-usage for more details
# For a multi-page site, try `MARP_ARGS: "-I slides/ --output dist/"`
# Check examples for more: https://github.com/ralexander-phi/test-marp-action/blob/dev/README.md#example-sites
# But to keep things simple, let's just convert a single README.md into index.html
MARP_ARGS: "README.md -o index.html"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
PUBLISH_TO_BRANCH: main
# You'll want to set this to your domain
BASE_URL: https://pbronneberg.github.io/egg-bot
# consider using a tagged release here
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsuses
uses: ralexander-phi/marp-action@master