Skip to content

Commit

Permalink
💚 Fix CD
Browse files Browse the repository at this point in the history
  • Loading branch information
maremarismaria committed Aug 5, 2024
1 parent 1ef5ace commit 40408f7
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: cd

on: [push, pull_request]

jobs:
cd:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [18]

steps:
- name: Checkout
uses: actions/checkout@master

- name: Setup node env
uses: actions/setup-node@v4

with:
node-version: ${{ matrix.node }}

- name: Install dependencies
run: npm

- name: Generate
run: npm run generate

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

0 comments on commit 40408f7

Please sign in to comment.