Skip to content

TEAM-UP-CD

TEAM-UP-CD #13

Workflow file for this run

name: TEAM-UP-CD
on:
workflow_run:
workflows: ["team-up-CI"]
branches: [main]
types:
- completed
jobs:
deploy-production:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 14
- name: Install dependencies
run: npm i
- name: Run build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build