Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Archiving the repo #104

Archiving the repo

Archiving the repo #104

Workflow file for this run

name: Publish to Github Pages
on:
push:
branches:
# NOTE: You may want to limit the trigger branch to be "main" or "master" etc.
- 'main'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2
- name: Generate your content
run: echo "Optional placeholder. Put your project's static website generator command here."
- name: Publish current workdir (which contains generated content) to GitHub Pages
uses: rayluo/[email protected]
with:
# Optional. Default value "." means the root directory of your project will be published.
# You can use whatever directory your project uses, for example "wwwroot".
# Such a directory does *not* have to already exist in your repo,
# it could be an output directory created dynamically by your static website builder.
source-directory: pkg
# Optional. Default value "gh_pages".
# It specifies the temporary branch which hosts the static website.
# Each build will OVERWRITE this branch.
target-branch: gh_pages