Skip to content

page

page #5

Workflow file for this run

name: page
on:
workflow_dispatch:
jobs:
build-and-deploy:
name: Build and deploy page
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm install
working-directory: examples/page
- name: Build
run: npm run build
working-directory: examples/page
- name: Deploy
run: |
git config --global user.name $user_name
git config --global user.email $user_email
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
github_token: ${{ secrets.ACTIONS_DEPLOY_ACCESS_TOKEN }}
repository: ${{ github.repository }}
working-directory: examples/page