[ISSUE] Support for gray release in divide-plugin. #569
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dashboard Deploy | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build_and_deploy_job: | |
runs-on: ubuntu-latest | |
name: Build and Deploy Job | |
steps: | |
- | |
name: Checkout Code | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- | |
name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: "18" | |
- | |
name: Setup Dependencies | |
run: yarn install | |
- | |
name: Build Site | |
run: npm run build | |
- | |
name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' | |
publish_branch: dist | |
publish_dir: ./dist | |