Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmada committed Nov 21, 2023
1 parent ce6ba47 commit 8304a38
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy pages

on: push

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install dependencies
working-directory: ./slidev
run: yarn

- name: Build
working-directory: ./slidev
run: yarn build --base MasteringEnumeration

- name: Deploy pages
uses: crazy-max/ghaction-github-pages@v3
with:
build_dir: ./slidev/dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8304a38

Please sign in to comment.