mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 03:07:47 +00:00
20 lines
549 B
YAML
20 lines
549 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- landingpage
|
|
|
|
jobs:
|
|
|
|
deploy_on_gh_pages:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2.1.3
|
|
with:
|
|
node-version: '16'
|
|
- uses: bahmutov/npm-install@v1
|
|
- run: yarn build
|
|
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- run: npx -y -p gh-pages@3.1.0 gh-pages -d build --add -u "github-actions-bot <actions@github.com>" |