Skip to content

Commit

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

on: push

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: npm install

- name: Install slidev
run: npm i -g @slidev/cli

- name: Build
working-directory: slidev
run: slidev build --base MasteringEnumeration

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

0 comments on commit edb13c5

Please sign in to comment.