-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 800 Bytes
/
main.yml
File metadata and controls
33 lines (29 loc) · 800 Bytes
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
# Simple workflow for deploying static content to GitHub Pages
name: CryptoThrone Homepage
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# On Release <-> Published.
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
# Lets try docs Push!
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: docs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}