Skip to content

Commit

Permalink
feat: Created staging branch, test of gh pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobinstein committed Feb 28, 2024
1 parent 9ad014e commit ebdd1ac
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build and Deploy
on:
push:
branches:
- staging

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Configure Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- name: Install dependencies
working-directory: ./docs
run: yarn install
- name: Build
working-directory: ./docs
run: yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/src/.vuepress/dist
publish_branch: gh-pages
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"Lua.workspace.library": [
"/home/stephen/.config/Code/User/globalStorage/sumneko.lua/addonManager/addons/ao/module/library"
],
"Lua.workspace.checkThirdParty": false
}

0 comments on commit ebdd1ac

Please sign in to comment.