mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-11 14:00:27 -06:00
Add GitHub action to replace travis
This commit is contained in:
parent
58fd11bf8f
commit
189e331292
19
.github/workflows/github-pages.yml
vendored
Normal file
19
.github/workflows/github-pages.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: GitHub pages
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
build-and-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Build and deploy
|
||||||
|
uses: JamesIves/github-pages-deploy-action@2.0.0
|
||||||
|
env:
|
||||||
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
BRANCH: gh-pages
|
||||||
|
FOLDER: .vuepress/dist
|
||||||
|
BUILD_SCRIPT: yarn && yarn run build
|
||||||
Loading…
x
Reference in New Issue
Block a user